boyenec
boyenec

Reputation: 1617

can't change python version from visual studio code interpreter

I am trying to change python version from 3.9.0 to 3.7.6 from visual studio code interpreter. But when I checking python version from terminal it's showing me 3.9.0. see the pictureenter image description here

how to switch from 3.9.0 to 3.7.6 in visual studio. see the second picture. it showing notification 3.7.6 at the bottom but when checking version from terminal it's giving me 3.9.0

enter image description here

Upvotes: 1

Views: 996

Answers (1)

Serzhev
Serzhev

Reputation: 41

probably you are still interested in answer to this question. If you want to set the proper python interpreter, you can type it directly in terminal:

  • specific python interpreter: py -3.9
  • default python interpreter: python

Moreover, it is highly recommended to use default directory for python while installation.

terminal commands for Win

Upvotes: 1

Related Questions