Many thanks to the author, the ComfyUI-for-Nuke plugin is very useful.
I'm a Windows 11 user and the installation path of ComfyUI is:
D:\AI\ComfyUI Desktop
That's right, there is a space in the middle of ComfyUI Desktop, and I didn't think so much about it when I installed ComfyUI.
settings.py code is as follows:
`import os
ENVIRONMENT VARIABLES
COMFYUIDIR = os.getenv('NUKECOMFYUIDIR', 'D:/AI/ComfyUI Desktop')
IP = os.getenv('NUKECOMFYUIIP', '127.0.0.1')
PORT = int(os.getenv('NUKECOMFYUIPORT', '8000'))
COMFYUI2NUKE = os.path.dirname(file)
IMAGEOUTPUTWITHINPROJECT = os.getenv('IMAGEOUTPUTWITHINPROJECT', True)
SETTINGS
UPDATEMENUATSTART = True
USEEXRTOLOADIMAGES = False
DISPLAYMETAINREADNODE = True`
Now when rendering with Nuke, the prompt error is as follows:
How can I solve this problem?
Many thanks to the author, the ComfyUI-for-Nuke plugin is very useful.
I'm a Windows 11 user and the installation path of ComfyUI is:
D:\AI\ComfyUI DesktopThat's right, there is a space in the middle of ComfyUI Desktop, and I didn't think so much about it when I installed ComfyUI.
settings.py code is as follows:
`import os
ENVIRONMENT VARIABLES
COMFYUIDIR = os.getenv('NUKECOMFYUIDIR', 'D:/AI/ComfyUI Desktop')
IP = os.getenv('NUKECOMFYUIIP', '127.0.0.1')
PORT = int(os.getenv('NUKECOMFYUIPORT', '8000'))
COMFYUI2NUKE = os.path.dirname(file)
IMAGEOUTPUTWITHINPROJECT = os.getenv('IMAGEOUTPUTWITHINPROJECT', True)
SETTINGS
UPDATEMENUATSTART = True
USEEXRTOLOADIMAGES = False
DISPLAYMETAINREADNODE = True`
Now when rendering with Nuke, the prompt error is as follows:
How can I solve this problem?