gpt4free
gpt4free copied to clipboard
ImportError: cannot import name 'PasswordGenerator' from 'password_generator'
ImportError: cannot import name 'PasswordGenerator' from 'password_generator' (C:\Users\Acer\AppData\Local\Programs\Python\Python311\Lib\site-packages\password_generator_init_.py)
Traceback:
File "C:\Users\Acer\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in run_script
exec(code, module.dict)
File "C:\Users\Acer\Desktop\gpt4free-main\gui\streamlit_chat_app.py", line 10, in
ex. installed password generator and random password generator and every module before them streamlit run gui/streamlit_chat_app.py Error appears
I've no idea why the password_generator.py ends up in site-package without it's own folder, but it gives me this error regardless of where it's placed
Screenshots
the module "password_generator.py" is not a part of this project.
I am getting this same error message