How To Check The Python Version
Quick tutorial to check the python version for Windows, Mac, or Linux
This is a quick tutorial on how to check the python version running on your computer for Mac, Windows, or Linux. You can watch the video or read the instructions below.
Here are the quick steps to do this on your own machine:
Open up a terminal window
Run:
python --version
Note: If you have python3 installed you might have to run:
python3 --version
Or on Windows
py --version
That should output something like:
Python 3.7.3
And that’s how you find the Python version.
Another way to do it is to simply run the python
command to open up the interactive python shell. That will show you the Python version as well as some other useful info when you open the program. It might look something like this:
Python 3.7.3 (default, Apr 24 2020, 18:51:23)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
So those are the two easiest ways to check which version of Python is running on your computer.
I hope you found this tutorial useful.
-Brian