gpt4free
gpt4free copied to clipboard
ModuleNotFoundError: No module named 'password_generator'
Bug description
- Run
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
- Move streamlit_app.py from ./gui to the base folder to the base folder
- Run
cp gui/streamlit_app.py .
streamlit run streamlit_app.py
- GUI runs and ends up with ModuleNotFoundError: No module named 'password_generator'error
Screenshots
File "C:\Users\14802\Documents\GitHub\gpt4free\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "C:\Users\14802\Documents\GitHub\gpt4free\streamlit_app.py", line 7, in <module>
from gpt4free import you
File "C:\Users\14802\Documents\GitHub\gpt4free\gpt4free\__init__.py", line 6, in <module>
from gpt4free import usesless
File "C:\Users\14802\Documents\GitHub\gpt4free\gpt4free\usesless\__init__.py", line 9, in <module>
from password_generator import PasswordGenerator
Environment
- Python 3.10.11
- US
pip install random-password-generator
Please adjust the dockerfile in this repo to include this ;)
Please adjust the dockerfile in this repo to include this ;)
I've submit a pr to update requirements.txt
@xtekky Can we close this issue?