Open unique15 opened 10 months ago
Hi, I tried a fix and it worked. I will share the same here.
Basically, we need to install two packages before we do anything- "segment anything" and "omegaconf". This should be inside your comfyUI installation folder where you are installing rest of the packages. On my runpod machine I had this path like this "workspace/ComfyUI/venv/lib/python3.10/site-packages" I have seen on the discord where people are running comfyUI portable on local machine and their path looked like this " comfyui_windows portable/python_embeded/lib/site_packages" So you match this path in your machine and once you are inside your site packages folder. open CMD and run these pip install commands without [] brackets.
[pip install segment_anything]
[pip install omegaconf]
After installing these, update "controlnet auxillary prerocessor" and "comfyui-art-venture" same as you do using comfyUI "manager".
Restart webUI.
Load the same workflow that gives error. It should be gone.
Hi currently I am facing the same issue, I have resolved this issue following your steps but however there is a certain issue that i must tell. whenever I close Comfyui and reopen it the custom node says the exact same thing as posted above in the issue and when I click on try update/try fix and reboot the server the issue resolves. Also all the preprocessors which I find other users are having, I do not see a single one of them One such user says that there a several preprocessors to choose from and it automaticlly installs the corresponding preprocessor choosen
same issue here !!!! even after trying [pip install segment_anything] [pip install omegaconf]
Hello, I've come to bring you the definitive solution to this error. The first thing you need to know is that this error is due to an issue with the segment-anything
library. To fix it, the first thing you should do is try the solution provided above:
pip install segment_anything
pip install omegaconf
If you've done that and it didn't work, simply download the repository from "https://github.com/facebookresearch/segment-anything" as a .zip
file. Once downloaded, extract it, and the only thing we're interested in is the folder called segment-anything
.
Copy this folder to the directory ComfyUI_windows_portable\python_embeded\Lib\site-packages
if you're using the portable version. If you have the other version, you should copy it to the directory C:\Users\PC\AppData\Local\Programs\Python\Python310\Lib\site-packages
.
Once you've done this, just restart ComfyUI, and you shouldn't encounter that error again. I hope this solution helps; it did for me.
you are a god, thank you!!! :)
For me the reinstalls didn't work, so I looked in the _ComfyUI_windows_portable\ComfyUI\customnodes folder and noticed the dir names differ:
I renamed the folder (in windows mind you) from comfyui-art-venture
to ComfyUI-Art-Venture
and voila.. Sometimes it is the small things
@fuzzydee-ds9 you saved my life lol ty
Hi, No matter what I do, I can't get this "ControlNet Preprocessor" node inside my loaded workflow. Whenever I load the workflow I get this error.
When I go to install missing nodes I get this "Import Failed" error.
I am running a SDXL comfyui on RunPod. With RTX 3090, 9 vCPU 37 GB RAM, 12.1 Cuda Core.
I would greatly appreciate if you can help fix this issue.