I solved the issue by doing this on Windows 10 :
py -m streamlit run filename.py
I solved the issue by doing this on Windows 10 :
py -m streamlit run filename.py
Thanks, it worked!
Hello friend, Iām using the commands infrmado and it runs but it doesnāt create the page, can you help?
Thanks. it worked for me
You are welcome!!!
Thank you. That solved my problem.
open cmd
pip install streamlit
pipenv install streamlit
Iāve spent hours trying to fix this, looked at all the solutions on this page, and yours is the one that worked (especially since I needed admin access for some of the other ones). Thank you so much! I was installing Streamlit on a new computer, and never needed āpython -mā on the old one.
use the command:
python -m streamlit hello
I was stuck on this problem for more than 8 hours with an upcoming deadlineā¦Thanks a lot this completely solved it!
Worked for me!
Thanks I lost 3 hours on this
I also lost unnecessary hours on this until using that -m command. Would be really nice to know why though. Anyway, Thank You!
worked like magic! Thanks a lot!
It worked for me, tkx
Hi there,
This worked for me, but I added two variables on Path (IāM USING WIN 10):
C:\Users\name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts
and
C:\Users\name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310
The best practice is to do your pip install after you activate your conda environment
conda create --name streamlit python=3.8
conda activate streamlit
pip3 install deta
Thank you so much!