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

    Nov 24, 2019 · 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.

  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 python version?

  3. 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 sys.version_info can also be accessed by name, so the major version number is sys.version_info.major. See also How can I check for Python version in a program that uses new language features?

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

    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 interpreter...

  5. python - How to find the version of jupyter notebook from within …

    Oct 12, 2020 · I wish to return the version of Jupyter Notebook from within a cell of a notebook. For example, to get the python version, I run: from platform import python_version python_version() or to get the

  6. How to change Python version of existing conda virtual …

    Sep 18, 2021 · I created a conda environment with Python version 3.8, but it doesn't support matplotlib... So I am looking for something like this to change the Python version: conda env my_env update to python=3...

  7. What version of Python do I have? - Ask Ubuntu

    Jul 31, 2014 · How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).

  8. How can I change the Python version in Visual Studio Code?

    Jan 7, 2018 · If you want the specific version, copy the full path of the python.exe file and add " --version" after it to get the version.

  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 interpreter ...

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

    I've installed several versions of Pythons on my Windows computer, for example Python 2.7-64, Python 2.7-32, and Python 3.7-32. Python 3 includes "py" and "pyw" which helps me to easily start different Pythons, for example: