How Do I Find Python Version in Linux?
Contents

What version of Python do I have Linux?

Finding out what version of Python is installed on your system is very easy, just type python –version .

How do I check python version?

To check your Python version in your script, run import sys to get the module and use sys.
…
Check Python Version Linux (Exact Steps)

  1. Open the terminal application (for example, bash).
  2. Execute command : type in python –version or python -V and press enter.
  3. The Python version appears in the next line below your command.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest