text-generation-webui
text-generation-webui copied to clipboard
Can't manually run 'download-model.py' anymore
Describe the bug
download-model.py
is broken when I try to run it manually. Only tried on native Windows 11.
Downloading models from the web UI works fine.
Is there an existing issue for this?
- [X] I have searched the existing issues
Reproduction
Either double-click on or run download-model.py
through a terminal.
Screenshot
No response
Logs
Traceback (most recent call last):
File "C:\oobabooga_windows\text-generation-webui\download-model.py", line 18, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
System Info
Windows 11
One click installer
RTX 3060 12GB
Hi, same problem. I tried starting fresh with the new 1 click install and it tells me 'requests' is missing although my old version still works.
EDIT: never mind, I mixed up some backup folders. A new clean install (in an empty folder) seems to solve the problem.
I guess I can reinstall, but I wonder what broke my current installation.
My problems started after the latest update.
I did a clean install but that didn't solve the problem.
I have the same issue and i installed it using the latest one-click-installer start_windows.bat
Just did a fresh install because when I ran the "update" it broke the manual download. So I nuked the environment entirely and did new install and the same error message I got before the update is here, though it's different than the error that other people above me in the thread have indicated. This is on a windows environment and can be reproduced.
Traceback (most recent call last):
File "D:\env\1_oobabooga_windows\text-generation-webui\download-model.py", line 223, in
Hi @sleeplessinva,
Looking at comit 5dfe0be (from two days ago), they've actually removed the entire model selection menu. The error you ran into is likely because you haven't specified the model you want to download, within the command itself (e.g. python download-model.py facebook/opt-1.3b
).
At the moment, it appears there's no proper error handling for if a user forgets to specify the model name, as it would usually just load the menu instead. Basically just an oversight.
Hope this helps! (。•̀ᴗ-)✧👍
I installed requests globally
pip install requests
and that solved the problem.