-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
ModuleNotFoundErrors: No modules named 'diffusers' nor 'huggingface_hub' #430
Comments
Looks like the dependencies were not downloaded successfully. In the |
I can verify that folders named Out of curiosity I reinstalled the addon and got the dependencies again. After collecting packages, it successfully builds the wheel for One thing I saw in an error tooltip which I didn't see in the console was when I tried to import a checkpoint file, Any ideas? |
Have you tried restarting Blender after installing dependencies? Could be an issue with the backend already being started and not being able to load the new modules while its running. |
Yes, I have restarted both Blender and my computer at all different stages of installation. I verified I have full write access to all directories used by Blender, and a firewall isn't preventing connections. In case 3.3 had been the problem, I also tried 3.4 and 3.5. Logs indicate nothing goes wrong when installing dependencies. The files exist, they are just not being used. No success so far with this or any previous version of the addon on Linux. In any case, I appreciate the help so far. |
I have exactly the same problem. .python_dependencies are installed correctly, but
shows up when I try to import checkpoint. Other Stable Diffusion front ends are working correctly. |
I've found that this can be caused by the default context that multiprocessing has for unix based systems being different from windows and macOS. https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods |
Much appreciated @NullSenseStudio I was just trying the add-on on Linux and had the same issue. Your fix works and allows me to download SD 2.1. |
Description
Using Linux (CUDA), I was successfully able to download developer dependencies, but when downloading a model, I received the following error:
Further, when attempting to use the Find Models feature to search Hugging Face Hub for a model, I received this error:
I can verify that folders named
diffusers
andhuggingface_hub
exist in/home/username/.config/blender/3.3/scripts/addons/dream-textures/.python_dependencies
and not anywhere else.I have manually downloaded the models I'd like to use but the
Import Checkpoint file
creates the samediffusers
error as above.It may be possible that a SD-related cache elsewhere on my machine is conflicting. I used other SD tools when 1.4 came out.
It is also possible that the bug is related to Blender version 3.3. That's currently the latest version supporting Octane, otherwise I'd use the latest builds.
Thanks for building a great tool. I'm looking forward to trying it out!
Steps to Reproduce
Expected Behavior
Successfully complete a search for a model, or successfully download a model.
Addon Version
Other (Built from source)
GPU
NVIDIA
The text was updated successfully, but these errors were encountered: