What version of Python is running ?

Two things to check:

  • 1. Version #

In the Python Console:

import sys
print (sys.version)

Sample output:

3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

if you get an error on the second line, try:

print sys.version ## without parens (syntax difference between python2 and python3)
  • 2. Path (to help with trouble shooting virtual environments)

In terminal (Linux or OSX – in Win your success may vary)

which python

Sample:

Xmachina:~ x$ which python
/usr/bin/python