-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Python3 installer is broken on Windows #99923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As a workaround, looks like one can copy |
Why are you typing |
I am trying to build the Google v8 JS shell, which uses If that is the wrong thing to do and
There is no option
Among other things because of that PEP 394, which states "When invoked, python2 should run some version of the Python 2 interpreter, and python3 should run some version of the Python 3 interpreter." |
PEP 394's name is "The “python” Command on Unix-Like Systems", and Windows is no Unix-like system. It even has a section Exclusion of MS Windows which says "This PEP deliberately excludes any proposals relating to Microsoft Windows". If Python doesn't promise the existence of The depot_tools setup tutorial mentions python.exe but not python3.exe, so looks like depot_tools even already knows the correct name... |
I am not following a setup tutorial, but I am running the automated depot_tools build script, which programmatically invokes
What is the point of devising the whole |
Raised a bug report against depot_tools in Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1395090 |
If you create a symlink, then you won't have to manually replace "python3.exe" if you do an in-place update. For example: >>> import os, sys
>>> dst = os.path.join(os.path.dirname(sys.executable), 'python3.exe')
>>> os.symlink('python.exe', dst) |
Is there anything left to do here? |
I agree with ecmziegler on depot_tools bug tracker, who commented
I still think Windows installations of Python 3 should provide python3.exe. The rationales above of why not do not seem particularly convincing. |
Closing this as a dup of #99185 |
I was unable to find the appropriate GitHub repository for the Windows installer, so reporting this here to get visibility somewhere at least.
Steps To Reproduce:
python3
:and press enter.
Observed: The Microsoft Store page pops up, asking the user to install Python 3.10:
Expected: The just installed python 3.11 interpreter should launch.
The text was updated successfully, but these errors were encountered: