ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils' #7515
|
In the newest version, when using: from diffusers import AutoencoderKL, DDPMScheduler, UNet2DConditionModel , getting the error : ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils' (/opt/conda/lib/python3.10/site-packages/diffusers/utils/init.py) System Info : Need help. |
Answered by
tolgacangoz
Mar 29, 2024
Replies: 2 comments 6 replies
|
Hi @Neel0101, python -m pip uninstall diffusers && conda uninstall diffusers
conda clean -a
python -m pip cache purge
python -m pip install diffusers |
6 replies
|
@tolgacangoz , i am facing the same issue, i tried clone a huggingface repo , but got issue , where the diffusion is not installed , whatever i do nothing seems to be working : here is the link : https://colab.research.google.com/drive/1roi0OaxdDDNbRlwtcHx-eyi2JntbrjhS?usp=sharing |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After running these:
Restart the jupyter-notebook kernel, then run this:
Let's see what will happen. If this won't work, I suggest you create a new conda environment and try on it. I think you are using the base environment of conda, maybe other libraries you installed before conflict somehow 🤔. Also, could you share the output of this command: