Python Forum

Full Version: how to switch form python 2.xy to 3 in VSCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to switch form python 2.xy to 3 in VSCode

i tried to do this with this code - pip install python3

which does not work at all

[Image: 9d653ffe16bd862136f76261667df1e7505f9a82.png]

note: i run jupyter in vscode - so i guess that if i want to run jupyternotes with python 3 then i have to add python 3 at once.
For starters check what Pythons are already available. For that click on Python version in left corner of footer in VS Code window.

[attachment=1049]

This will open dropdown where you can switch to any version what is installed:

[attachment=1050]