About 272,000 results
Open links in new tab
  1. Which version of Python do I have installed? - Stack Overflow

    Nov 24, 2019 · On my Windows 8.1 Pro machine, Python 2.7.10 outputs Python 2.7.10 for -V and --version; and Python 3.4.3 similarly outputs Python 3.4.3 for both options too. – J0e3gan Commented Jun 2, 2015 at 6:00

  2. How can I check my python version in cmd? - Stack Overflow

    Jun 15, 2021 · I has downloaded python in python.org, and I wanted to check my python version, so I wrote python --version in cmd, but it said just Python, without version. Is there any other way to find out pyt...

  3. How can I check all the installed Python versions on Windows?

    C:\Users\admin>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.

  4. How do I check which version of Python is running my script?

    To verify the Python version for commands on Windows, run the following commands in a command prompt and verify the output . c:\>python -V Python 2.7.16 c:\>py -2 -V Python 2.7.16 c:\>py -3 -V Python 3.7.3 Also, To see the folder configuration for each Python version, run the following commands:

  5. Get Windows Version in Python - Stack Overflow

    Mar 9, 2021 · import winreg def get_windows_version(): """ Returns the Windows version in format like "24H2" by reading the DisplayVersion from the Windows Registry. Returns: str: The Windows display version (e.g., "24H2", "23H2") or "Unknown" if version cannot be determined.

  6. How can I find where Python is installed on Windows?

    Mar 15, 2009 · Make use of the Python Launcher for Windows (available as of 3.3). It is compatible with all available versions of python. First, check if the launcher is available: py starts the latest installed version of Python. To see all Python versions available on your system and their path: py -0p or. py --list-paths

  7. How to check python anaconda version installed on Windows 10 …

    Jan 19, 2018 · I have a Windows 10 PC with python anaconda installed. The latest anaconda version is v5.0.1 I would like to find out whether the PC has the latest version v5.0.1 installed and whether it is 32-bit/

  8. How do I check the versions of Python modules? - Stack Overflow

    Note 1: We must regard the Python version. If we have installed different versions of Python, we have to open the terminal in the Python version we are interested in. For example, opening the terminal with Python 3.8 can (surely will) give a different version of a library than opening with Python 3.5 or Python 2.7.

  9. How do I check if I'm running on Windows in Python?

    Python os module. Specifically for Python 3.6/3.7: os.name: The name of the operating system dependent module imported. The following names have currently been registered: 'posix', 'nt', 'java'. In your case, you want to check for 'nt' as os.name output: import os if os.name == 'nt': ... There is also a note on os.name:

  10. python 3.x - How to check what version of Virtual Env is installed ...

    Aug 8, 2019 · If you mean the module that is used in python you can check them with pip freeze or pip3 freeze based on the package manager you use. So it would be like below: pip freeze | grep virtualenv output: virtualenv==16.0.0

Refresh