ComfyUI InsightFace Windows Fast Installation (2024) | NO MORE ERRORS FOR IPADAPTERS / ROOP
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2024
- ComfyUI: github.com/comfyanonymous/Com...
InsightFace Wheels: github.com/Gourieff/Assets/tr...
Commands: .\python_embeded\python.exe -m pip install [path-to-wheel] onnxruntime
In this quick video, we share how we can install insightface on windows as many people are having issues with it while using the new IPAdapter face nodes.
My Hardware Specs
GPU: 24GB VRAM
RAM: 32GB
CPU: 24 Core
👍 If this video helped you, do hit that like button, subscribe for more content, and let us know your thoughts in the comments below. - วิทยาศาสตร์และเทคโนโลยี
You are a rockstar! I did so much searching for a solution to my missing Insightface errors. This was perfect! THANK YOU!
dude you litterally saved me from a week of headache. Worked finally...! 1 milion kudos
This was a huge timesaver! Thanks for the quick and easy guide!
Thank you so so much, I had given up already when I found you through Reddit :)
Exactly. Big up, thanks for sharing.
Mannnn, you are truly a legend! After hours of pain, your solution worked! Even the creator of IPAdapter didnt tell us this! The blessings of Pope over your life :)))
i agree 100% with these message :)
Your THE BESTTTT! Great work man🏆😎
That was such a big help!. Thank you!
Woooooooh!!! You made all my pain and suffering go away. I've been sitting with this crap on and off the whole freaking day and now +12h later you gave me the solution. THANKS!!!
excellent - worked fine - had issue installing a new node and it messed comfyui up, so had to do a new one, imported the files and models, nodes etc to save time and tried node with use of insightface and got this problem, now is solved thanks to u! :)
Saved my day! You are the "MAN"... Thx a lot buddy!
legend this finally worked!! thank you so much!
Very helpful, thank you!😄
man you are a lifesaver. Thanks you so much!
Man, you are a true gem trust me, it was so easy with your method :) , thanks a lot.
Thank you very much! The problem is finally solved!
thank you it worked for me aswell ! TH-cam and the word need heroes like you
Don't leave comments often but thank you very much you helped me solve a massive issue i was having appreciate it!!! gave it a big like and follow
it worked like charm;
I had to run it as administrator and change de name from "ComfyUi 2024" to "ComftUi_2024" for cd C:\Users\EICM\Desktop\ComfyUI 2024 marked error becouse of the separation of the wird and the year. After that it worked. Thank you!
Thanks dude, worked like a charme.
🔥🔥🔥 Thanks man, you are my hero!
This is amazing, thank you!
thanks a lot , your tutorials are amazing
YAY could not make it work without you... 👍🏼
THANK YOU SO MUCH!!!
thanks ! that helps a lot !
thank you man, i couldn't figure out for hours. Found this everything works now!
Thank you!!!!! Time Saver, I think point is the command, i use same wheel before, no use, but add the last word(onnxruntime), finally the problem has been solved
Thank you! I was searching . . . . .
thanks for this video!
but i get Error
Error occurred when executing InsightFaceLoader:
No module named 'insightface.app'
Anyone knows what could be?
please help,,
Thank you very much, it worked.
YESSSS Thanks!
Man, thank you! Really!
THANK YOU SO MUCH!!!🤩🤩
Great Tutorial... I hope you can make a tutorial about efficiency node, how to use and install it. having trouble with it even in comf. manager
LEGEND!!!! THANK YOU
Worked !
You Sir are a life saver
u saved lives ... thank you!!!
Hi thanks for the video but I cant see the option of '' Prepare Image for InsightFace'' under ipadapter, is there any solution? Thanks
Thank you so much👍
Thank you so much !!!!!! You saved my girlfriend's Comfyui install ! You are the GOAT !
Thank you so much bro, this issue has been f'in pee'in me off for months. Ten likes👍👍👍👍👍👍👍👍👍👍 and a subscribe.
Mann you are the savior.
you are the best! thank you
How do I do this on runpod? I want to use FaceID, InstantID.
My computer throws an error about the
Oh! I'm still getting "Error occurred when executing IPAdapterFaceID:
module 'comfy.model_base' has no attribute 'SDXL_instructpix2pix'"
Awesome thank you bro
bro i love u u solved the problem
Thank you very much!
Thanks you duder!
Muchas gracias , después de tantas horas buscando una solución , la suya me sirvió .
Can you please help ? I could not find prepImageforInsightface Node
Thank you good sir!
hi, did someone get a problem with onnxruntim ? Is there an another mean to install this insight face ? thk you
ERROR: Could not find a version that satisfies the requirement onnxruntim (from versions: none)
ERROR: No matching distribution found for onnxruntim
Hello! thank you, im still facing this issue tho ; ERROR:root: - Return type mismatch between linked nodes: insightface, CLIP_VISION != INSIGHTFACE
any idea by chance? thanks!
Hi, did you manage to solve it? I have not seen that error before but I think it might be a using wrong models in the wrong node kinda error.
Thank YOU!!!!😁
Thank youuuuu!
Error occurred when executing VHS_LoadVideoPath:
module 'cv2' has no attribute 'VideoCapture'
I am running comfyui in a collab notebook and I get the same error: No module named 'insightface' any tips for collab notebook users?
Same. Is there a colab notebook I can just clone?
that fixed my first problem where it was getting stuck on the "load insightface" box, but now its getting stuck on the "apply IDAdapter" box, saying "InsightFace must be provided for FaceID models" .... ? any tips?
Yup that is expected, you are probably using a faceid model in an IPAdapter node, but faceid models only work in IPAdapter FaceID nodes. You can check out my other IPAdapter video where I talked about which models to use for which node: th-cam.com/video/oYjEFHb--RA/w-d-xo.html
Nice. Thank you.
I use stability matrix in portable mode for Comfyui, I can't find the directory for the python_embeded so idk where to do the cmd(aka terminal). help pls
Hi, sorry I do not use stability matrix, but after some searching, I think this might help you out: github.com/LykosAI/StabilityMatrix/issues/344
Thank you so much~!
How do I install it in Colab? InsightFace error occurs
thank after many days your video work with me
Friend, I followed your video and installed everything like you and my version of python and I still get this error
When loading the graph, the following node types were not found:
IPAdapterApply
Nodes that have failed to load will show as red on the graph.
THANK YOU!
I don't have the portable version, how can I install it?
what about for pinocio ? I have an empty insightface folder, what happened ?
you are amazing!!!
How would you get this done on Kaggle???
any idea how to run it on Runpod which uses Linux? there isn't a python_embedded folder and the .exe, only the ComfyUI directory.
I installed it using pip install directly but I get the same error :(
Facing the same issue on Kaggle
thx man that solved my problem
Hello teacher, I would like to ask you that I have the same problem, but I am using an Apple M1 chip computer. How should I install insightface? The terminal always prompts me: ModuleNotFoundError: No module named insightface'
Hi sorry I do not use a mac, you may want to refer to github.com/deepinsight/insightface/issues/2493 and see if the solutions work :)
Close ComfyUI while installing - otherwise you will get this error:
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied. Consider using the `--user` option or check the permissions.
Thank you, I'm glad I found your comment
Thank you. working now... =]
LEGEND!!!
I tried but its showing " Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\
ew_ComfyUI_windows_portable_nvidia_cu121_or_cpu\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\onnxruntime\\capi\\onnxruntime_providers_shared.dll'
Consider using the `--user` option or check the permissions.
I see, maybe can try this:
1. Under windows search, search 'Terminal'.
2. Right click on it, select 'Run as Administrator'.
3. type in 'cd D:
ew_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable'
4. type in the same command from the video.
Let me know if it works!
Close ComfyUI terminal
it works! Ty@@Ernest2002
@@Ernest2002 Wow, this random comment just saved me a headache. Thank you.
@@Ernest2002 wow thank you guy ! you save my night !!!!!!
excellent video, I'm currently running python 3.10, would you be so kind to help me upgrading to 3.11? thanks
I got ERROR: Wheel 'insightface' located at C:\Users\User\Downloads\insightface-0.7.3-cp311-cp311-win_amd64.whl is invalid. , what should I do......
u saved me , thanks
thank you very much
Error occurred when executing InsightFaceLoader:
No module named 'insightface'
can you help me?
Hi, just to be sure the installation is successful, you could run this command if you are using windows (replace findstr with grep for linux):
.\python_embeded\python.exe -m pip list | findstr insightface
If there is an output like insightface 0.7.3, it means insightface has installed correctly and the error lies in either wrong model placement or using wrong python executable.
@@DataLeveling Hi, I ran this command and have output insightface 0.7.3 what else should I do? i get "(IMPORT FAILED): F:\Ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\insightface"
Gracias amigo!
how to install for web ui?
Can you also show how to do the same on runpod
how to do this on linux?
Hi, thanks. I´ve tried but It didn´t helped me. I´ll uninstall everything and start again.
thx a lot!
Hey how I can do it on macOS i tried everything but nothing works.. thanks
bro, can u fix it?
portable\python_embeded\python.exe: No module named install is the error i get
Anyone know how to install on Mac?
thx for the tutorial, I guess something is wrong with my installation, as soon as i run the ....onnxruntime command i get this error
ERROR: insightface-0.7.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform. :(
Hello, I think have seen others facing the same issue in the comments. Their case was that after checking, the python ver they are running from for ComfyUI is not 3.11.
I'm not sure on your case if its the same!
Thanks..mine did not work until I read the logs. I had to Add a PATH variable "...ComfyUI_windows_portable\python_embeded\Scripts" You saved me from frustration and pain!
chad
I'm getting "ERROR: Invalid requirement: '[path-to-wheel]'" Is this related to your issue and fix?
@@jasondulin7376 i have "ERROR: Invalid requirement: '[path-to-wheel]'" issue too when running the command in description. - Windows 11 python v 3.11.6
@@NebMotion Dang. Now I can’t remember how I fixed it…. I feel like I found a forum somewhere else. As always, make sure to update Comfy with the Manager. Hope you figure it out.
@@jasondulin7376 no prob, i've been digging for a while now but i'm sure i'll find a solution - i have also added to ComfyUI_windows_portable\python_embeded\Scripts PATH environment variable
Brooooo, you killed it!! Thank you very much!!🔥🔥
Hey bro, did they remove "prep image for insightface" node?? I can't find it
Hi brother, yes the dev removed the node from the repository.
@@DataLeveling thanks bro for letting me know
hello, I don't have the open terminal option :(
Hi, you could click on the windows address at the top and type cmd and it will open the terminal :)
Thanks! Can you share more on IP adaptor?
Will share more soon in my next vid!
Thank you! can you share the workflows? It would be useful and allow us to try what we see on video :). Thanks again!