Opened 7 years ago

Last modified 7 years ago

#56078 assigned defect

py27-pip and PATH

Reported by: ahh Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py27-pip

Description

I installed py27-pip, and then ran pip install on a package I care about. This put binaries for that package into

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin

but at no point did py27-pip try to add this to my PATH, that I can tell. Can it?

Change History (1)

comment:1 Changed 7 years ago by raimue (Rainer Müller)

Owner: set to stromnov
Port: py27-pip added
Status: newassigned

You are not supposed to use pip to modify anything in /opt/local/.... This path is managed by MacPorts and only MacPorts should modify it. Installing your own modules may cause conflicts when installing python modules from ports. You should either install to your home directory or use virtualenv (port py27-virtualenv) to manage python modules in isolated environments.

Note: See TracTickets for help on using tickets.