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

ModuleNotFoundError #1

Open
mrpnectar opened this issue Oct 25, 2024 · 2 comments
Open

ModuleNotFoundError #1

mrpnectar opened this issue Oct 25, 2024 · 2 comments

Comments

@mrpnectar
Copy link

Receiving this error when attempting to run streamlit.py:

(venv) ➜ mac_computer_use git:(main) ✗ streamlit run streamlit.py
Traceback (most recent call last):
File "/Users/john/mac_computer_use/venv/bin/streamlit", line 5, in
from streamlit.web.cli import main
File "/Users/john/mac_computer_use/streamlit.py", line 22, in
from streamlit.delta_generator import DeltaGenerator
ModuleNotFoundError: No module named 'streamlit.delta_generator'; 'streamlit' is not a package

@Sayedardhi
Copy link

uninstalling and reinstalling streamlit might for you. what worked for me was trying:

conda update -c conda-forge streamlit -y

@benthecoder
Copy link

@mrpnectar rename the streamlit.py file to something else, like app.py

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

3 participants