please share fi Traceback (most recent call last): File…
- User
please share fi
Traceback (most recent call last): File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\main.py", line 261, in loop.run_until_complete(server.setup()) ^^^^^^^^^^^^ AttributeError: 'PromptServer' object has no attribute 'setup'
C:\Users\CapsA01\ComfyUI_windows_portable>pause Press any key to continue . . .
- Assistant
The error you encountered indicates that the
PromptServerobject in your script does not have asetupmethod. This could be due to several reasons, such as a missing import, a typo in the method name, or a version mismatch if you're relying on an external library.Here are some steps you can take to resolve this issue:
-
Check Method Name: Ensure that the method name
setupis correct and that it's intended to be called on thePromptServerobject. You might want to review the documentation or the source code wherePromptServeris defined to verify that thesetupmethod exists.
-