This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: can not execute the python + version, to launch python under windows.
Type: enhancement Stage: resolved
Components: Windows Versions: Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: CuriousLearner, HiyashiChuka, brett.cannon, docs@python, ncoghlan, paul.moore, ronaldoussoren, steve.dower, tim.golden, xtreak, zach.ware
Priority: normal Keywords:

Created on 2019-04-24 07:50 by HiyashiChuka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg340761 - (view) Author: sakamotoaya (HiyashiChuka) * Date: 2019-04-24 07:50
I am sorry if it is existing problem

to launch Python 3.6, execute the command in Command Prompt under windows
py -3.6→Success
python3.6→Fail

to launch Python 3.6, execute the command in Command Prompt under Linux
py -3.6→Fail
python3.6→Success

I would like to unify the command.
What are your thoughts on that?
msg340795 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2019-04-24 17:16
This is by design in the Windows installer. You can check a box to put python3.6 on PATH if you want.

If you want the Python Launcher on UNIX, see https://crates.io/crates/python-launcher.
msg340800 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-04-24 18:22
More precisely, the default Python install for Windows does not include versioned executables.

If you install Python 3.7 from the Microsoft Store then you will get them, though it's not identical to the full development kit you'll get from python.org.

There may be other distributions that include versioned executables as well. Ours will only put "python.exe" on PATH
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80889
2019-04-24 18:22:34steve.dowersetmessages: + msg340800
2019-04-24 17:16:09brett.cannonsetstatus: open -> closed

nosy: + brett.cannon
messages: + msg340795

resolution: not a bug
stage: resolved
2019-04-24 09:16:07serhiy.storchakasetnosy: - serhiy.storchaka
2019-04-24 09:01:58HiyashiChukasetnosy: + ronaldoussoren, ncoghlan, docs@python, serhiy.storchaka, CuriousLearner, xtreak
2019-04-24 07:50:35HiyashiChukacreate