Python Forum
how to switch form python 2.xy to 3 in VSCode - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: how to switch form python 2.xy to 3 in VSCode (/thread-32459.html)



how to switch form python 2.xy to 3 in VSCode - apollo - Feb-10-2021

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.


RE: how to switch form python 2.xy to 3 in VSCode - perfringo - Feb-10-2021

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]