[New-bugs-announce] [issue43168] macOS python install shares /usr/local with homebrew and can conflict

Barry Alan Scott report at bugs.python.org
Mon Feb 8 14:57:04 EST 2021


New submission from Barry Alan Scott <barry-scott at users.sourceforge.net>:

The popular homebrew system installs its binaries into /usr/local/bin.

The macOS python install also defaults to /usr/local/bin where it
puts symlinks to Python like:

% ls -l /usr/local/bin/python3.10
lrwxr-xr-x  1 root  73  8 Feb 19:45:50 2021 /usr/local/bin/python3.10@ -> ../../../Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10

I understand that there are issues when homebrew installed code requires home brew's python but finds the python.org version.

Having installation options to control both where the symlinks are installed or not having any symlinks installed would help.

This would make it easier to work with both python.org and homebrew.

>From researching it seems that homebrew cannot be configure to use another folder for its installation.

----------
components: Installation
messages: 386649
nosy: barry-scott
priority: normal
severity: normal
status: open
title: macOS python install shares /usr/local with homebrew and can conflict
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43168>
_______________________________________


More information about the New-bugs-announce mailing list