Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add a Python version to the Python Launcher?

On Windows, how can I add a Python version to the Python Launcher? I have python 3.7 installed alongside 2.7. I've made sure that the PATH variable and the registry keys are correct. One thing I will say is that I can't see any other Python environment variables on my machine (such as PYTHONPATH), or either of the py.ini files descibed here.

If possible, I would like the solution to also work with python distribition, such as Anaconda.

This is the same question as py launcher does not find my Python 2.7, but none of the answers worked for me, so I trust I am allowed to ask again.

related: How should I set the default Python version in Windows

like image 572
Invariance Avatar asked Oct 18 '25 07:10

Invariance


1 Answers

I solved the problem by going to Control Panel -> Uninstall A Program, right clicking on "Python 2.7.15", clicking "change", and pressing "repair". No clue why I didn't try that first.

like image 192
Invariance Avatar answered Oct 20 '25 19:10

Invariance



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!