-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Description
While following the excellent instructions on Installing Python on Mac page today, I encountered a message from homebrew when trying to fix a bad link:
~>$ brew doctor
Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
(and /usr/local/share/python3) dir and install affected Python packages
anew with `pip install --upgrade`.
It seems homebrew changed their install directory, and I propose removing this from the docs:
This will take a minute or two. Once that’s complete, you’ll have to add the new Python scripts directory to your PATH
export PATH=/usr/local/share/python:$PATH