How to Check Python Version on PC or Mac

This wikiHow teaches you how to find which version of Python is installed on your Windows or macOS computer. Open Windows Search. If you don't already see a search box in the taskbar, click the magnifying glass or circle next to , or press...
Method 1 of 2:

Windows PC

  1. How to Check Python Version on PC or Mac Picture 1How to Check Python Version on PC or Mac Picture 1
    Open Windows Search. If you don't already see a search box in the taskbar, click the magnifying glass or circle next to
    How to Check Python Version on PC or Mac Picture 2How to Check Python Version on PC or Mac Picture 2
    , or press Win+S.
  2. How to Check Python Version on PC or Mac Picture 3How to Check Python Version on PC or Mac Picture 3
    Type python into the search bar. A list of matching results will appear.
  3. How to Check Python Version on PC or Mac Picture 4How to Check Python Version on PC or Mac Picture 4
    Click Python [command line]. This opens a black terminal window to a Python prompt.
  4. How to Check Python Version on PC or Mac Picture 5How to Check Python Version on PC or Mac Picture 5
    Find the version in first line. It's the number right after the word 'Python' at the top-left corner of the window (e.g. 2.7.14).
Method 2 of 2:

macOS

  1. How to Check Python Version on PC or Mac Picture 6How to Check Python Version on PC or Mac Picture 6
    Open a Terminal window on your Mac. To do this, open the Applications folder in Finder, double-click the Utilities folder, then double-click Terminal.
  2. How to Check Python Version on PC or Mac Picture 7How to Check Python Version on PC or Mac Picture 7
    Type python -V at the prompt (V uppercase).
  3. How to Check Python Version on PC or Mac Picture 8How to Check Python Version on PC or Mac Picture 8
    Press Return. The version number will appear on the next line after the word 'Python' (e.g. 2.7.3).
5 ★ | 2 Vote