-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
[Bug]: ModuleNotFoundError: No module named 'tqdm.auto' #221
Comments
i'm super dumb, i don't know how i didn't notice the same issue in the bug thread 2 wks ago. closing this now |
Is this fixed? I'm still getting a similar error in the latest commit on a fresh install. Details
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Launching Web UI with arguments:
Traceback (most recent call last):
File "C:\somewhere\sd.webui\webui\launch.py", line 48, in <module>
main()
File "C:\somewhere\sd.webui\webui\launch.py", line 44, in main
start()
File "C:\somewhere\sd.webui\webui\modules\launch_utils.py", line 432, in start
import webui
File "C:\somewhere\sd.webui\webui\webui.py", line 13, in <module>
initialize.imports()
File "C:\somewhere\sd.webui\webui\modules\initialize.py", line 21, in imports
import gradio # noqa: F401
File "C:\somewhere\sd.webui\system\python\lib\site-packages\gradio\__init__.py", line 3, in <module>
import gradio.components as components
File "C:\somewhere\sd.webui\system\python\lib\site-packages\gradio\components\__init__.py", line 1, in <module>
from gradio.components.annotated_image import AnnotatedImage
File "C:\somewhere\sd.webui\system\python\lib\site-packages\gradio\components\annotated_image.py", line 8, in <module>
from gradio_client.documentation import document, set_documentation_group
File "C:\somewhere\sd.webui\system\python\lib\site-packages\gradio_client\__init__.py", line 1, in <module>
from gradio_client.client import Client
File "C:\somewhere\sd.webui\system\python\lib\site-packages\gradio_client\client.py", line 24, in <module>
from huggingface_hub import CommitOperationAdd, SpaceHardware, SpaceStage
File "C:\somewhere\sd.webui\system\python\lib\site-packages\huggingface_hub\__init__.py", line 332, in __getattr__
submod = importlib.import_module(submod_path)
File "importlib\__init__.py", line 126, in import_module
File "C:\somewhere\sd.webui\system\python\lib\site-packages\huggingface_hub\hf_api.py", line 51, in <module>
from huggingface_hub.utils import (
File "C:\somewhere\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\__init__.py", line 18, in <module>
from . import tqdm as _tqdm # _tqdm is the module
File "C:\somewhere\sd.webui\system\python\lib\site-packages\huggingface_hub\utils\tqdm.py", line 63, in <module>
from tqdm.auto import tqdm as old_tqdm
ModuleNotFoundError: No module named 'tqdm.auto'
Press any key to continue . . . |
It wasn't exactly "fixed" in that the plugin author didn't fix the problem, but it's easily fixable by yourself by using the methods outlined in the thread linked above. I'm reopening this since I do think the extension author should look into fixing it. Basically the problem is just that this extension replaces your current tqdm installed version with an older one, presumably on accident, which breaks your entire auto1111 installation. Simply upgrading the tqdm version, or removing the extension and deleting the venv folder, letting it repopulate, backing up the tqdm folders as mentioned in the link, re-installing the extension, then replacing the newly installed old tqdm with the backup, should work to fix it regardless of whether the extension author fixes the issue on their side. |
To fix this update moviepy package and tqdm package to latest versions. source ./venv/bin/activate
pip install moviepy==1.0.3
pip install tqdm==4.66.1 |
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
Webui startup failed due to some odd bug in your extension. I have tried resetting the venv folder and it same result, then removed ur extension and same result, but after removing your extension AND deleting venv folder, webui loaded with no errors. adding your extension back in resulted in the error again.
Steps to reproduce the problem
What should have happened?
webui continue loading
WebUI and Deforum extension Commit IDs
webui commit id - 68f336bd994bed5442ad95bad6b6ad5564a5409a
txt2vid commit id - 8f0af8c
Torch version
2.0.0+cu118
What GPU were you using for launching?
3090 TI 24gb
On which platform are you launching the webui backend with the extension?
Local PC setup (Windows)
Settings
wat? idk wym but here's a screenshot of my other extensions since i guess that might be helpful
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: