Skip to content

Remove an export step from Installing Python on Mac Page #437

@cgoodale

Description

@cgoodale

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions