Downgraded python, can't run streamlit

Hi,
I unistalled Python 3.9 and installed Python 3.8. I have added to the path and deleted the Python3.9 vars from the path. When I try to run my program, I get:

Capture

I know that file is not there because I uninstalled Python 3.9. I do not know how to point it to the correct version of python. I’ve reinstalled Python 3.8 and Streamlit.

Current solution is to use a virtualenv.

Hi @jackkoho -

Using a virtualenv is generally our recommendation, as PATH issues can be tricky to debug. In this case, I would guess that Windows is having an issue figuring our where your Python packages are installed. Using a virtualenv makes it explicit where packages are installed, irrespective of your PATH variables.

Best,
Randy