![]() ![]() In this case, that is typical for a installed Python instance or it could be one built from source. /./Library/Frameworks/amework/Versions/2.7/bin/python Customize your file locations The file locations can also be customized by using environment variables and options. To see exactly where the /usr/local/bin/python is linked to: $ ls -l /usr/local/bin/python Default file locations The following table lists the default location of the Neo4j files, per type, and distribution. If you want Finder to open a custom folder by default, pick Other from the dropdown. In the General tab, find the New Finder windows show: dropdown and select one of the suggested options. Open Finder Preferences ( + ,) from the menu bar. 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. Make sure that Finder is active either by clicking on your Desktop or Finder’s Happy Mac logo. # 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 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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |