osx - macOS X weird python -
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.
how can know whereis python 2.7.8 , why whereis points different python version default one?
you can run python , check sys.executable.
>>> import sys >>> sys.executable '/usr/bin/python'
Comments
Post a Comment