Trying to Install Python via Visual Studio Installer. Python seems to be in limbo. I don’t know if it’s installed or not

I used to be able to install python.

enter image description here

See.

Just click Python 3 64 bit and installed.

Now no matter how many times I did that Python simply didn’t get installed.

Or did it? If I click add environment I got this

enter image description here

So looks like it’s already installed. But where? How do I run interpreter?

If I press alt I got a message

>>> 2+1
No interpreters cannot be started because the path to the interpreter has not been configured.
Please update the environment in Tools->Options->Python Tools->Environment Options

There is no option tools->options->python tools. There is tools ->options ->python and nothing where I can put the location of python interpreter.

If I try to create virtual environment I got this
enter image description here

As if python is not installed.

Annoyed, I installed python on C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64

But how do I let Visual Studio know that I want to use that python interpreter?

Current interactive window is disconnected.

enter image description here
Visual studio installer looks like it’s installing something but it install nothing. Python should be installed on

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\

Nothing got installed there.

Basically I used to have 2 python installation. One from app store and another from visual studio.

I tried to get rid the one from Appstore but can’t. So I downloaded Microsoft uninstaller.

support.microsoft.com/en-au/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d#articleFooterSupportBridge=communityBridge%EF%BF%BC%EF%BF%BCHowever,

It turns out the uninstaller uninstall the visual studio’s python.

Latter I managed to remove the python from the app store.

Then I want to reinstall visual studio’s pyton.

I couldn’t. Tried again.

At first I saw that directory

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\

Have a bunch of files. But python.exe is not there.

After uninstalling and reinstalling several time, python is not even installed at all. The checkbox for python 3 64 bit is always unchecked. I can check and press modify and it will be unchecked again after I am done.

Oh I open visual studio installer as administrator

Read more here: Source link