Python Forum
how to switch form python 2.xy to 3 in VSCode
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to switch form python 2.xy to 3 in VSCode
#1
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.
Reply
#2
For starters check what Pythons are already available. For that click on Python version in left corner of footer in VS Code window.

   

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

   
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Setup of VSCode to run with Python: some things are messed up apollo 0 1,376 Jan-05-2022, 12:22 PM
Last Post: apollo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020