Opened 12 years ago

Closed 8 years ago

#36452 closed defect (wontfix)

port select python version not updating all PATH's

Reported by: kbradwick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: seh@…
Port:

Description

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

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

"port select" does not modify the PATH. It only creates or changes specific symlinks.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

The request to add "port select" support for pip is #36178.

comment:3 Changed 9 years ago by seh@…

Cc: seh@… added

Cc Me!

comment:4 Changed 8 years ago by larryv (Lawrence Velázquez)

Resolution: wontfix
Status: newclosed

This is not something we are going to do.

Note: See TracTickets for help on using tickets.