Changing Python version in a Virtual Environment on VSCODE?

Viewed 25

I am trying to create a virtual environment in VSCode with a different python version, I used venv to create it. I did select the interpreter from the Command Palette, but it does not change the python version to the one I wanted. The global version is 3.10.5, the one I want to use is 3.5.4.

Can you please help me with that? Below are the steps I followed to create the virtual environment.

D:\Programming\Python\ZipLine>python -m venv .zip35 D:\Programming\Python\ZipLine>.zip35\Scripts\Activate.bat (.zip35)D:\Programming\Python\ZipLine>python --version Python 3.10.5 (.zip35)D:\Programming\Python\ZipLine>python --version Python 3.10.5
0 Answers
Related