About 2,120,000 results
Open links in new tab
  1. 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 …

  2. Which version of Python do I have installed? - Stack Overflow

    I have to run a Python script on a Windows server. How can I know which version of Python I have, and does it even really matter? I was thinking of updating to the latest version of Python.

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

    1501 How do I check which version of the Python interpreter is running my script? See Find full path of the Python interpreter (Python executable)? if you are looking to find exactly which …

  4. 'Python not found' despite having been installed [duplicate]

    Feb 28, 2021 · I've installed Python's latest version. However, when I write in command prompts python --version I get: Python was not found; run without arguments to install from the …

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

    Learn how to check all installed Python versions on Windows using command line tools and environment variables.

  6. How do I detect the Python version at runtime? - Stack Overflow

    Aug 30, 2018 · Here, sys.version_info[0] is the major version number. sys.version_info[1] would give you the minor version number. In Python 2.7 and later, the components of …

  7. How to create a venv with a different Python version

    Dec 20, 2021 · 100 I have different venvs in my machine in which I have Python 3.10. Now for a specific project, I realised that Python 3.10 is not suitable as some libraries are still not …

  8. How to list all installed packages and their versions in Python?

    Is there a way in Python to list all installed packages and their versions? I know I can go inside python/Lib/site-packages and see what files and directories exist, but I find this very awkward. ...

  9. How to know which Python is running in Jupyter notebook?

    I use Jupyter notebook in a browser for Python programming, I have installed Anaconda (Python 3.5). But I'm quite sure that Jupyter is running my python commands with the native python …

  10. How do I compare version numbers in Python? - Stack Overflow

    Aug 9, 2012 · How do I compare version numbers in Python? Asked 13 years, 3 months ago Modified 4 months ago Viewed 290k times