Re: [MacPorts] #50058: Executables installed by pip are not linked into macports path (and are not “select”able in any way).
MacPorts
noreply at macports.org
Mon Aug 6 05:09:43 UTC 2018
#50058: Executables installed by pip are not linked into macports path (and are not
“select”able in any way).
--------------------------+----------------------
Reporter: gallafent | Owner: stromnov
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-pip |
--------------------------+----------------------
Comment (by cogentParadigm):
I am dynamically referencing the correct bin directory based on the
currently active version of python using this line in my .bash_profile:
{{{
export
PATH="$PATH:/opt/local/Library/Frameworks/Python.framework/Versions/$(stat
-f %Y /opt/local/bin/python | sed 's/[^0-9\.]*//g')/bin"
}}}
This won't automatically update your current shell when changing the
active version of python. You'll have to source .bash_profile or start a
new shell.
--
Ticket URL: <https://trac.macports.org/ticket/50058#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list