

To see exactly where the /usr/local/bin/python is linked to: $ ls -l /usr/local/bin/python Items in /usr/bin should always be or link to files supplied by Apple in OS X, unless someone has been ill-advisedly changing things there. # Python 2.7.2 (also built with newer gcc) Type "help", "copyright", "credits" or "license" for more information. For example: # Apple-supplied Python 2.6 in OS X 10.6 That information should be on the previous line. is the version of GCC that the Python(s) were built with, not the version of Python itself. Is pointing to /usr/local/Cellar/python/3.6.4_4/bin/python3Ĭheck it out by running: ls -al /usr/local/bin/python3 Now create a new symbolic link: ln -s /usr/local/Cellar/python/3.6.4_4/bin/python3 /usr/local/bin/python3 orig suffix to file): cp /usr/local/bin/python3 Is not pointing to the place you want, which is in our case: /usr/local/Cellar/python/3.6.4_4/bin/python3 If for some reason, your /usr/local/bin/python3 Is actually pointing to (the real location) /usr/local/Cellar/python/3.6.4_4/bin/python3 Which means that your /usr/local/bin/python3 WAIT!!! It's prob a symbolic link, how do you know? Run: ls -al /usr/local/bin/python3Īnd you'll get (if you've installed Python w/ Brew): /usr/local/bin/python3 -> /usr/local/Cellar/python/3.6.4_4/bin/python3
#PYTHON MACOS MAC#
On Mac you should get: /usr/local/bin/python3

TL DR (you don't have to go through all the answer - just the 1st half). To find it on Linux also ( & every basic shell). This one will solve all your problems not only on Mac but
