cubiq/ComfyUI_InstantID

Insightface installation failing in ComfyUI?

SNK6x opened this issue · 2 comments

Not sure what's going on but it looks like insightface installation is failing.

#######################################################################
[ComfyUI-Manager] Starting dependency installation/(de)activation for the extension

[notice] A new release of pip is available: 23.3.2 -> 24.0
[notice] To update, run: D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\python.exe -m pip install --upgrade pip

ComfyUI-Manager: EXECUTE => ['D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\python.exe', '-m', 'pip', 'install', 'insightface']

Execute install/(de)activation script for 'D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID'

Collecting insightface
Using cached insightface-0.7.3.tar.gz (439 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
[!] error: subprocess-exited-with-error
[!]
[!] Getting requirements to build wheel did not run successfully.
[!] exit code: 1
[!]
[!] [18 lines of output]
[!] Traceback (most recent call last):
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
[!] main()
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
[!] json_out['return_val'] = hook(**hook_input['kwargs'])
[!] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
[!] return hook(config_settings)
[!] ^^^^^^^^^^^^^^^^^^^^^
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
[!] return self._get_build_requires(config_settings, requirements=['wheel'])
[!] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
[!] self.run_setup()
[!] File "D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
[!] exec(code, locals())
[!] File "", line 11, in
[!] ModuleNotFoundError: No module named 'Cython'
[!] [end of output]
[!]
[!] note: This error originates from a subprocess, and is likely not a problem with pip.
[!] error: subprocess-exited-with-error
[!]
[!] Getting requirements to build wheel did not run successfully.
[!] exit code: 1
[!]
[!] See above for output.
[!]
[!] note: This error originates from a subprocess, and is likely not a problem with pip.
[!]
[!] [notice] A new release of pip is available: 23.3.2 -> 24.0
[!] [notice] To update, run: D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\python_embeded\python.exe -m pip install --upgrade pip
install/(de)activation script failed: D:\Program Files\Stable Diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID

[ComfyUI-Manager] Startup script completed.
#######################################################################

Screenshot 2024-06-01 125636
Looks like this in the manager, tried every option still fails in the same way. Is there any way to do a manual install?

always update pip first

maybe you just need to install Cython, anyway there's a lengthy thread on the ipadapter on how to install insightface cubiq/ComfyUI_IPAdapter_plus#162