navigation

How to Check Python Version on PC or Mac

Method 1 of 2:

Windows PC

  1. 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 Win+S.
  2. Type python into the search bar. A list of matching results will appear.
  3. Click Python [command line]. This opens a black terminal window to a Python prompt.
  4. 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. 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. Type python -V at the prompt (V uppercase).
  3. Press Return. The version number will appear on the next line after the word 'Python' (e.g. 2.7.3).
Update 05 March 2020