[MacPorts] #36452: port select python version not updating all PATH's
#36452: port select python version not updating all PATH's -------------------------+-------------------------------- Reporter: kbradwick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------+-------------------------------- When executing; sudo port select --set python python27 or any other installed python version, not all paths are appended to the PATH environment variable. For example the command pip should map to /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pip-2.7. But the only way to execute the correct pip is to use pip-2.7 every time. This is a pain and could be avoided if the path /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin was appended to the PATH env on select. Other installed script (via pip) do not work because of this too, e.g. django-admin.py -- Ticket URL: <https://trac.macports.org/ticket/36452> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36452: port select python version not updating all PATH's --------------------------+-------------------------------- Reporter: kbradwick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): "port select" does not modify the PATH. It only creates or changes specific symlinks. -- Ticket URL: <https://trac.macports.org/ticket/36452#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36452: port select python version not updating all PATH's --------------------------+-------------------------------- Reporter: kbradwick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): The request to add "port select" support for pip is #36178. -- Ticket URL: <https://trac.macports.org/ticket/36452#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts