I have python 3.11.2
installed on my local machine. For a specific project I need to use python 3.9.13
So I installed pyenv, created a new directory and isntalled python version 3.9.13 in that directory. In the same directory I created a new virtual environment by doing: .\.venv\Scripts\activate
. After that in Visual Code I selected the correct python version which is 3.9.13. Everything looks good as you would say. However, when I do python -V in my command line in VS code (inside the virtual environment) I receive the following output: