py27-py port: activation error

Brandon Allbery allbery.b at
Sun Mar 31 04:47:40 PDT 2013

On Sun, Mar 31, 2013 at 4:11 AM, Eneko Gotzon Ares <enekogotzon at>wrote:

> Trying to upgrade py27-py port an activation error occurs: *activate for
> port py27-pytest returned: Image error:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/py.test is
> being used by the active py27-py port. Please deactivate this port first,
> or use 'port -f activate py27-pytest' to force the activation.*

I would first figure out if you need that other port, and possibly
deactivate it first.

> I have choose to force the activation running 'port -f activate
> py27-pytest' command –as stated– but Terminal says *Insufficient
> privileges to write to MacPorts install prefix*.

Note that you usually need sudo unless you have built macports yourself to
do private installs.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list