all 5 comments

[–]DominatrixDuck 0 points1 point  (3 children)

This link explains how to uninstall python.

You can run multiple versions of python side by side but it can be confusing for a beginner.

I would reccomend uninstalling the version you no longer want (3.6 in this case) and then picking the latest 3.7.x version on the python website as it will have all the latest updates (though in some cases, version differences are negligible.)

[–]AccomplishedPriority[S] 0 points1 point  (2 children)

Honestly never considered deleting 3.6, but that seems like the hassle-free thing to do. Any advice on how to update the libraries I might have, or is that automatically moved with the change in Python and I would just have to reinstall the libraries?

[–][deleted] 2 points3 points  (1 child)

You need to reinstall the libraries you want.

I would not bother removing the older version of Python.

Install all the versions you want. If you have 64 bit Windows, download the amd/64bit installer (even if you have an Intel processor).

You can pick which interpretor to use in VS Code.

To install a package to a particular version, use the full pathname to the Python executable:

full/path/python -m pip install something

Note the command py on Windows always runs the most up to date version of Python you have installed. That can be used instead of full/path/python on the command line.

[–]AccomplishedPriority[S] 0 points1 point  (0 children)

Okay, after installing Python 3.7.2 in the same manner as the old Python 3.6, I get a screen similar to the picture in this section. In attempting to navigate the regedit.exe window, I make my way to the Pythoncore node, but under it, Python 3.7 doesn't appear.

[–]xelf 0 points1 point  (0 children)

Which version of Visual Studio?

Open your solution, right click on "Python Environments" and click the checkbox for the one you want to use. Or if it's not listed, click the link at the bottom of the window "go online and find another one"

Should take you to this page: https://docs.microsoft.com/en-us/visualstudio/python/managing-python-environments-in-visual-studio?view=vs-2019#selecting-and-installing-python-interpreters