-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insightface installation failing in ComfyUI? #164
Comments
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 |
If you encounter the following error while trying to install InsightFace for InstantID in ComfyUI:
Here is the procedure I used to successfully install InsightFace: Steps to Follow:
After this, InsightFace should be successfully installed, and you should be able to install and use InstantID without any issues! |
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.
#######################################################################
The text was updated successfully, but these errors were encountered: