Skip to content
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

No module named ‘tqdm.auto’ #21

Open
Muxelmann opened this issue Aug 18, 2024 · 2 comments
Open

No module named ‘tqdm.auto’ #21

Muxelmann opened this issue Aug 18, 2024 · 2 comments

Comments

@Muxelmann
Copy link

When installing sd-webui-text2video with the CUDA image I get the following error:

...
File "/app/stable-diffusion-webui/venv/lib/python3.11/site-packages/huggingface_hub/utils/tqdm.py", line 89, in ‹module>
    from tqdm.auto import tqdm as old tqdm
ModuleNotFoundError: No module named 'tqdm.auto'

It appears not to be related to the webui, and the issue is still open for sd-webui-text2video. They do suggest a workaround there (install a certain tqdm version), but I am not sure how to implement it with miniconda. Maybe the issue can be resolved with an updated container?

@siutin
Copy link
Owner

siutin commented Aug 21, 2024

@Muxelmann You can just install the dependencies by running the container in an interactive shell. e.g:

docker run -it --name sdw --gpus all --network host \
  -v $(pwd)/models:/app/stable-diffusion-webui/models \
  -v $(pwd)/outputs:/app/stable-diffusion-webui/outputs \
  --rm siutin/stable-diffusion-webui-docker:latest-cuda \
  bash

source ./venv/bin/activate 
pip install xxx
pip install yyy

bash webui.sh --share 

if you prefer not to reinstall them each time you start a new container, you can simply make a custom image with your dependencies already installed.

@Muxelmann
Copy link
Author

I will try this. However, my plan is to run the image on Unraid, so making a new image will probably be the way forward. I also tried making a new image based on a fork, but maybe it's more straight forward to simply base the new image on yours. If re-installing tqdm works, I'll post it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants