Wilmer E. Henao
Wilmer E. Henao

Reputation: 4302

How can I select my version of python to use streamlit?

I have an app.py and I have several versions of python installed on my machine. How can I select what version of python should run when I type:

streamlit run app.py

Upvotes: 0

Views: 3362

Answers (1)

Maximilian Freitag
Maximilian Freitag

Reputation: 1049

python --version 

Output: Python 3.8.8


This will be the version that your streamlit app will run on. In my case 3.8.8.

If you want to have a different version of Python for streamlit, you can install it from python.org, use a virtual environment , or use conda to create a specific environment with conda install python 3.6.0

Upvotes: 1

Related Questions