-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Error/Bug]: Couldn't install sd-webui-controlnet requirement: insightface. #2698
Comments
First do a clean installation of SD webui or remove the controlnet extension in the extensions folder and delete the venv folder, then run webui-user.bat, wait for the venv folder to be installed and restored then close webui. Then enter these commands one by one: Go to the folder with your SD webui, click on the path line and type "cmd" and press enter The command line will open and you will see that the path to the SD folder is open. F:\stable-diffusion-webui>venv\scripts\activate.bat (venv) F:\stable-diffusion-webui>pip install mediapipe (venv) F:\stable-diffusion-webui>pip install svglib (venv) F:\stable-diffusion-webui>pip install fvcore (venv) F:\stable-diffusion-webui>pip install "opencv-python>=4.8.0" (venv) F:\stable-diffusion-webui>pip install https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp310-cp310-win_amd64.whl --prefer-binary (venv) F:\stable-diffusion-webui>deactivate Wait for the installation to complete. Run webui-user.bat and install/reinstall the controlnet extension. Error messages should no longer appear and controlnet will install normally. If there are any errors, you can ignore them, everything should work fine. Special thanks to @Vadim2S |
I think this is a very detailed guide to resolve insightface installation problem. I will make it a wiki page. |
Thank you! I have spent a lot of time searching for a solution to these errors. I will be very happy if this helps people, because I see that issues topics with this problem are opened every week for more than a year. |
ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform |
how do you do this in ubuntu 24.04? |
I have installed insightface manually on SD's venv this way (venv) stable-diffusion-webui>pip install mediapipe
(venv) stable-diffusion-webui>pip install svglib
(venv) stable-diffusion-webui>pip install fvcore
(venv) stable-diffusion-webui>pip install "opencv-python>=4.8.0"
(venv) stable-diffusion-webui>pip install --prefer-binary insightface==0.7.3 It has completed normally and produced a warning about conflicting versions of fastapi and pydantic. Then I installed the ControlNet extension, it didn't complain about missing insightface anymore.
Hope that conflicting fastapi and pydantic will not affect me. |
Не звертайте увагу, за ідеєю, все має працювати. Але можливо, що після останніх оновлень webui щось і змінилося. |
Is there an existing issue for this?
What happened?
I'm currently using directml v1.7.0 of Stable Diffusion (1.8 doesn't work for my AMD RX480). I tried to install sd-webui-controlnet via extension tab in the WebUI, but everytime I did that I got error message regarding the installation of insightface. I did write a similar request in the discussion section but noone answered.
Steps to reproduce the problem
What should have happened?
The error appears in the CMD log, controlnet is still usable but without insightface (which is kinda important for me)
Commit where the problem happens
webui: 601f7e3704707d09ca88241e663a763a2493b11a
controlnet: v1.1.441
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
None, only sd-webui-controlnet
Console logs
Additional information
I tried several attempts including set PERMISSION to FULL CONTROL, run CMD as Admin and git clone ControlNet manually by CMD to the extension folder. None of them work, The insightface can't install and can't install automatically as well.
Please help me since I have zero knowledge on coding stuff and I really need SD at the moment.
Many thanks,
The text was updated successfully, but these errors were encountered: