How to check all the installed Python versions on Windows?
Please note I'm NOT asking "how to check which version of Python did I install".
I've installed several versions of Pythons on my Windows computer, for example Python 2.7-64, python 2.7-32, Python 3.7-32.
Python 3 includes "py" and "pyw" which helps me to easily start different Pythons, for example:
- "py -2.7" starts Python 2.7-64
- "py -2.7-32" starts Python 2.7-32
- "py -3.7-32" starts Python 3.7-32
What I'm wondering is, how to check how many different versions of Python did I install on my Windows PC and what versions are they?
PyCharm is able to find it but, for one thing, I don't know if it is a complete list, for another, I wonder if there is any tool provided by Python or the operating system can do it.
python
add a comment |
Please note I'm NOT asking "how to check which version of Python did I install".
I've installed several versions of Pythons on my Windows computer, for example Python 2.7-64, python 2.7-32, Python 3.7-32.
Python 3 includes "py" and "pyw" which helps me to easily start different Pythons, for example:
- "py -2.7" starts Python 2.7-64
- "py -2.7-32" starts Python 2.7-32
- "py -3.7-32" starts Python 3.7-32
What I'm wondering is, how to check how many different versions of Python did I install on my Windows PC and what versions are they?
PyCharm is able to find it but, for one thing, I don't know if it is a complete list, for another, I wonder if there is any tool provided by Python or the operating system can do it.
python
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56
add a comment |
Please note I'm NOT asking "how to check which version of Python did I install".
I've installed several versions of Pythons on my Windows computer, for example Python 2.7-64, python 2.7-32, Python 3.7-32.
Python 3 includes "py" and "pyw" which helps me to easily start different Pythons, for example:
- "py -2.7" starts Python 2.7-64
- "py -2.7-32" starts Python 2.7-32
- "py -3.7-32" starts Python 3.7-32
What I'm wondering is, how to check how many different versions of Python did I install on my Windows PC and what versions are they?
PyCharm is able to find it but, for one thing, I don't know if it is a complete list, for another, I wonder if there is any tool provided by Python or the operating system can do it.
python
Please note I'm NOT asking "how to check which version of Python did I install".
I've installed several versions of Pythons on my Windows computer, for example Python 2.7-64, python 2.7-32, Python 3.7-32.
Python 3 includes "py" and "pyw" which helps me to easily start different Pythons, for example:
- "py -2.7" starts Python 2.7-64
- "py -2.7-32" starts Python 2.7-32
- "py -3.7-32" starts Python 3.7-32
What I'm wondering is, how to check how many different versions of Python did I install on my Windows PC and what versions are they?
PyCharm is able to find it but, for one thing, I don't know if it is a complete list, for another, I wonder if there is any tool provided by Python or the operating system can do it.
python
python
asked Nov 15 '18 at 4:49
Columbia RoverColumbia Rover
179110
179110
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56
add a comment |
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56
add a comment |
1 Answer
1
active
oldest
votes
I just got the answer. By typing "py -h" or "py --help" I got the help message:
C:Usersadmin>py -h
Python Launcher for Windows Version 3.7.1150.1013
usage:
py [launcher-args] [python-args] script [script-args]
Launcher arguments:
-2 : Launch the latest Python 2.x version
-3 : Launch the latest Python 3.x version
-X.Y : Launch the specified Python version
The above all default to 64 bit if a matching 64 bit python is present.
-X.Y-32: Launch the specified 32bit Python version
-X-32 : Launch the latest 32bit Python X version
-X.Y-64: Launch the specified 64bit Python version
-X-64 : Launch the latest 64bit Python X version
-0 --list : List the available pythons
-0p --list-paths : List with paths
Which tells me that "-0" (zero, not letter "O") lists the available pythons:
C:Usersadmin>py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.7-32
-2.7-64
-2.7-32
While "-0p" lists not only the versions, but also the paths:
C:Usersadmin>py -0p
Installed Pythons found by py Launcher for Windows
-3.7-64 C:UsersadminAppDataLocalProgramsPythonPython37python.exe *
-3.7-32 C:UsersadminAppDataLocalProgramsPythonPython37-32python.exe
-2.7-64 C:Python27_64python.exe
-2.7-32 C:Python27_32python.exe
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53312590%2fhow-to-check-all-the-installed-python-versions-on-windows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I just got the answer. By typing "py -h" or "py --help" I got the help message:
C:Usersadmin>py -h
Python Launcher for Windows Version 3.7.1150.1013
usage:
py [launcher-args] [python-args] script [script-args]
Launcher arguments:
-2 : Launch the latest Python 2.x version
-3 : Launch the latest Python 3.x version
-X.Y : Launch the specified Python version
The above all default to 64 bit if a matching 64 bit python is present.
-X.Y-32: Launch the specified 32bit Python version
-X-32 : Launch the latest 32bit Python X version
-X.Y-64: Launch the specified 64bit Python version
-X-64 : Launch the latest 64bit Python X version
-0 --list : List the available pythons
-0p --list-paths : List with paths
Which tells me that "-0" (zero, not letter "O") lists the available pythons:
C:Usersadmin>py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.7-32
-2.7-64
-2.7-32
While "-0p" lists not only the versions, but also the paths:
C:Usersadmin>py -0p
Installed Pythons found by py Launcher for Windows
-3.7-64 C:UsersadminAppDataLocalProgramsPythonPython37python.exe *
-3.7-32 C:UsersadminAppDataLocalProgramsPythonPython37-32python.exe
-2.7-64 C:Python27_64python.exe
-2.7-32 C:Python27_32python.exe
add a comment |
I just got the answer. By typing "py -h" or "py --help" I got the help message:
C:Usersadmin>py -h
Python Launcher for Windows Version 3.7.1150.1013
usage:
py [launcher-args] [python-args] script [script-args]
Launcher arguments:
-2 : Launch the latest Python 2.x version
-3 : Launch the latest Python 3.x version
-X.Y : Launch the specified Python version
The above all default to 64 bit if a matching 64 bit python is present.
-X.Y-32: Launch the specified 32bit Python version
-X-32 : Launch the latest 32bit Python X version
-X.Y-64: Launch the specified 64bit Python version
-X-64 : Launch the latest 64bit Python X version
-0 --list : List the available pythons
-0p --list-paths : List with paths
Which tells me that "-0" (zero, not letter "O") lists the available pythons:
C:Usersadmin>py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.7-32
-2.7-64
-2.7-32
While "-0p" lists not only the versions, but also the paths:
C:Usersadmin>py -0p
Installed Pythons found by py Launcher for Windows
-3.7-64 C:UsersadminAppDataLocalProgramsPythonPython37python.exe *
-3.7-32 C:UsersadminAppDataLocalProgramsPythonPython37-32python.exe
-2.7-64 C:Python27_64python.exe
-2.7-32 C:Python27_32python.exe
add a comment |
I just got the answer. By typing "py -h" or "py --help" I got the help message:
C:Usersadmin>py -h
Python Launcher for Windows Version 3.7.1150.1013
usage:
py [launcher-args] [python-args] script [script-args]
Launcher arguments:
-2 : Launch the latest Python 2.x version
-3 : Launch the latest Python 3.x version
-X.Y : Launch the specified Python version
The above all default to 64 bit if a matching 64 bit python is present.
-X.Y-32: Launch the specified 32bit Python version
-X-32 : Launch the latest 32bit Python X version
-X.Y-64: Launch the specified 64bit Python version
-X-64 : Launch the latest 64bit Python X version
-0 --list : List the available pythons
-0p --list-paths : List with paths
Which tells me that "-0" (zero, not letter "O") lists the available pythons:
C:Usersadmin>py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.7-32
-2.7-64
-2.7-32
While "-0p" lists not only the versions, but also the paths:
C:Usersadmin>py -0p
Installed Pythons found by py Launcher for Windows
-3.7-64 C:UsersadminAppDataLocalProgramsPythonPython37python.exe *
-3.7-32 C:UsersadminAppDataLocalProgramsPythonPython37-32python.exe
-2.7-64 C:Python27_64python.exe
-2.7-32 C:Python27_32python.exe
I just got the answer. By typing "py -h" or "py --help" I got the help message:
C:Usersadmin>py -h
Python Launcher for Windows Version 3.7.1150.1013
usage:
py [launcher-args] [python-args] script [script-args]
Launcher arguments:
-2 : Launch the latest Python 2.x version
-3 : Launch the latest Python 3.x version
-X.Y : Launch the specified Python version
The above all default to 64 bit if a matching 64 bit python is present.
-X.Y-32: Launch the specified 32bit Python version
-X-32 : Launch the latest 32bit Python X version
-X.Y-64: Launch the specified 64bit Python version
-X-64 : Launch the latest 64bit Python X version
-0 --list : List the available pythons
-0p --list-paths : List with paths
Which tells me that "-0" (zero, not letter "O") lists the available pythons:
C:Usersadmin>py -0
Installed Pythons found by py Launcher for Windows
-3.7-64 *
-3.7-32
-2.7-64
-2.7-32
While "-0p" lists not only the versions, but also the paths:
C:Usersadmin>py -0p
Installed Pythons found by py Launcher for Windows
-3.7-64 C:UsersadminAppDataLocalProgramsPythonPython37python.exe *
-3.7-32 C:UsersadminAppDataLocalProgramsPythonPython37-32python.exe
-2.7-64 C:Python27_64python.exe
-2.7-32 C:Python27_32python.exe
answered Nov 16 '18 at 3:16
Columbia RoverColumbia Rover
179110
179110
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53312590%2fhow-to-check-all-the-installed-python-versions-on-windows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If you use conda to install the versions, type conda env list in your cmd. Link to conda doc
– Melvin
Nov 15 '18 at 4:55
What if you have a look at the list of installed programs ? You may have one entry for each python version.
– Patol75
Nov 15 '18 at 5:45
@Patol75 I'm using Microsoft Window 10. In my "Start" menu, for Python 3.7, it seems OK, I can see IDLE, Python 3.7, Python 3.7 Module Docs for both 32 and 64 bit. But for Python 2.7, there is only Python 2.7 32-bit in the menu. But I'm able to start Python 2.7 64-bit by running py -2.7-64. It means "py.exe" is able to find my 64-bit Python 2.7 version.
– Columbia Rover
Nov 15 '18 at 7:37
I was thinking of something like this (kencenerelli.wordpress.com/2017/11/25/…) or even just Apps & Features in Windows Settings.
– Patol75
Nov 15 '18 at 7:56