[Regression][Conda] ModuleNotFoundError: No module named 'streamlit.cli'
See original GitHub issueConda: 4.14.0 Python: 3.9.13
After upgrading to versions 1.12.0 and 1.12.2, Streamlit no longer launches.
streamlit run _gui_streamlit.py
Traceback (most recent call last):
File "/home/platon/miniconda3/bin/streamlit", line 6, in <module>
from streamlit.cli import main
ModuleNotFoundError: No module named 'streamlit.cli'
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
ModuleNotFoundError: No module named 'streamlit.cli'
I have created an environment, and I check my "requirements.txt" file, I lack the package "networkx", when I install finished and deploy again, ......
Read more >ModuleNotFoundError No module named - Streamlit Docs
This error occurs when you import a module on Streamlit Cloud that isn't included in your requirements file. Any external Python dependencies that...
Read more >No module named 'streamlit.report_thread'
I'm trying to deploy an object detection web app on streamlit cloud but it's throwing me this error.
Read more >'streamlit' is a package and cannot be directly executed
Hello guys, When i try to deploy streamlit to heroku i get this below error.How can i fix it? No module named streamlit.main;...
Read more >ModuleNotFoundError - Using Streamlit
ModuleNotFoundError : No module named 'networkx' File “/usr/local/lib/python3.7/site-packages/streamlit/ScriptRunner.py”, line 311, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @PlatonB,
Thanks for reporting this. This issue was caused by the
conda-forge
distribution of Streamlit not being supported in the same official capacity as our PyPI distribution (it’s technically community supported), so we didn’t catch that a refactor of some of the streamlit internals broke the conda-forge distribution. I have a PR out to fix it (https://github.com/conda-forge/streamlit-feedstock/pull/57) and hope to get it checked-in in the next day or so.Note that we’re currently working with the anaconda team to get streamlit into the conda default channel (version 1.11.1 is in conda defaults, but we still need to work out getting new versions into conda defaults as they’re released to PyPI), so once that’s done we’ll have more guarantees around the stability of conda release of Streamlit.
(CC @kmcgrady)
It was moved to
streamlit.web.cli
.