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!
2 posts were split to a new topic: PySpark installation issue on Streamlit Cloud
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!
thanks worked for me as well
thank you it worked!
This worked for me. Thank you
I’m using a conda install from a ArcGIS pro and adding the conda path and the warning path as mentioned from Pablo_Racana solved the issue for me.
Thanks!
Yup. Same with me, it works when using with python.
Thank you
it works
worked for me. Thank you
Thanks so much. This really helped alot