Skip to content Skip to sidebar Skip to footer

Visual Studio Code: Python Selector Defaults To Version 2 Even When Python V3 Selected

Visual Studio Code runs Python2 even when Python3 interpreter is selected. I run the code by pressing the play button at the top right. I've changed the workstation and user setti

Solution 1:

That's expected. You need to create a virtual environment that gets activated to make the python command point to something other than whatever your PATH has as python.


Post a Comment for "Visual Studio Code: Python Selector Defaults To Version 2 Even When Python V3 Selected"