Issue
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
Solution
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.
Answered By - Invariance
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.