When I try to deploy streamlit to heroku I get this below error. How can I fix it?
No module named streamlit.main; ‘streamlit’ is a package and cannot be directly executed
I tried and this works for me:
python -m streamlit.cli run path/to/your/app.py
This will work for you too.. python -m streamlit.cli iris_eda_app.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With