Streamlit not recongnized

Summary

I have python 3.9.12 installed on WINDOWS machine. When I locate it, I find as
C:\Program Files\Python39\python.exe
C:\Users<user>\AppData\Local\Microsoft\WindowsApps\python.exe

now, I ran “pip install streamlit” which installed streamlit version 1.17.0.
Now when I am running streamlit run prog.py, it’s giving error as ‘streamlit not recognized.’

Pls help with the solution.

1 Like

Hi @Anurag,

Thanks for posting!

Are you using a virtual environment? If not, I recommend creating a virtual environment and installing Streamlit then try running the app again.

Creating a virtual environment:

python -m venv venv

Activate:

./venv/Script/activate

Install Streamlit and run your app:

pip install streamlit
streamlit run prog.py

Let me know if this is of any help.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.