Unless you are tied to a specific version (e.g. 3.4), choose /usr/local/bin/python2
or /usr/local/bin/python3
depending on which major version you need.
python2
and python3
are symlinks to the most recent (or preferred) 2.x/3.x version installed; python
is a symlink to the default interpreter, which usually is python2
, but could be python3
, depending on the system.
The python2
/python3
distinction is necessary because Python 3 introduces major changes in syntax and semantics, making a Python 2 script potentially fail.