#48723: Failed to activate py34-numpy ---------------------------+------------------- Reporter: resmi.raju@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py34-numpy | ---------------------------+------------------- Changes (by ryandesign@…): * cc: michaelld@… (added) * priority: High => Normal * owner: macports-tickets@… => dh@… * milestone: MacPorts Future => * keywords: numpy => * port: => py34-numpy Comment: Has duplicate #48724.
{{{ Error: Failed to activate py34-numpy: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/f2py already exists and does not belong to a registered port. Unable to activate port py34-numpy. Use 'port -f activate py34-numpy' to force the activation. }}}
Why does that file already exist? How did it get there?
{{{ Admins-iMac-2:bin admin$ port -f activate py34-numpy ---> Computing dependencies for py34-numpy ---> Activating py34-numpy @1.9.2_2+gfortran Error: Failed to activate py34-numpy: mkdtemp failed: Permission denied }}}
You forgot to use "sudo" before "port -f activate py34-numpy". But before you force the activation, you need to answer the question about why this situation arose in the first place; under normal circumstances, this problem should not arise, so something is not normal on your system. Bypassing the problem by forcing the activation may just mean you'll run into other problems later. -- Ticket URL: <https://trac.macports.org/ticket/48723#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X