-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
Over here the docs say:
The normal pip install --user is disabled for brewed Python. This is because of a bug in distutils, because Homebrew writes a distutils.cfg which sets the package prefix.
It would be helpful if the text "a bug in distutils" linked to a bug report against distutils describing the problem in detail. That would help users understand the nature of the problem and advocate for an upstream fix.
I raise this issue here because some Python projects don't work well with Homebrewed Python, typically hitting up against the following error:
distutils.errors.DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
Trying to get to the bottom of the issue leads to the "Homebrew and Python" documentation page, but the trail goes cold at the above mention of that bug in distutils.