change python version in terminal and intelliJ -
short q,
in mac os sierra terminal,
if do:
whereis python /usr/bin/python then if do: /usr/bin/python opens python 2.10
but if execute python opens python 2.7.8. , 1 comes /library/frameworks/python.framework/versions/2.7/bin/python
how change default python point python 2.7.8? in terminal , in intellij?
check path environment variable
echo $path the python version when typing bare 'python' first 1 found in list of directories.
it possible control python version launched by, example, rearranging entries in path or adding symbolic link desired version in position before current version.
however, more popular way manage multiple python versions on same machine use virtualenv. give less headaches when using pip install/uninstall packages particular python versions.
Comments
Post a Comment