[MacPorts] #48723: Failed to activate py34-numpy
#48723: Failed to activate py34-numpy --------------------------+-------------------------------- Reporter: resmi.raju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: MacPorts Future Component: ports | Version: 2.3.3 Keywords: numpy | Port: --------------------------+-------------------------------- Initially i install python 2.7. Then i got some errors while QuTip execution. So now am using python 3.4. While installation i got error with numpy {{{ Admins-iMac-2:bin admin$ sudo port install py34-matplotlib +latex ---> Computing dependencies for py34-matplotlib The following dependencies will be installed: py34-altgraph py34-macholib py34-modulegraph py34-numpy py34-parsing py34-py2app py34-pyobjc py34-pyobjc-cocoa py34-tkinter Continue? [Y/n]: y ---> Activating py34-numpy @1.9.2_2+gfortran 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. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-numpy/py34-numpy/main.log for details. Error: Follow http://guide.macports.org/#project.tickets to report a bug. Error: Processing of port py34-matplotlib failed Admins-iMac-2:bin admin$ }}} I use force activation command {{{ 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 Error: See /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py34-numpy-1.9.2_2_6b74c7bf7c22f9194e0f2140b79aeb94a060ee88fa0ac76e3dba65deb6daf4b0-8512/py34-numpy/main.log for details. Warning: Failed to execute portfile from registry for py34-numpy @1.9.2_2+gfortran ---> Activating py34-numpy @1.9.2_2+gfortran Error: port activate failed: mkdtemp failed: Permission denied Admins-iMac-2:bin admin$ }}} Attached is the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/48723> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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: py-numpy | ---------------------------+------------------- Changes (by mf2k@…): * port: py34-numpy => py-numpy -- Ticket URL: <https://trac.macports.org/ticket/48723#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48723: Failed to activate py34-numpy ---------------------------+-------------------- Reporter: resmi.raju@… | Owner: dh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: py-numpy | ---------------------------+-------------------- Changes (by mf2k@…): * status: new => closed * resolution: => invalid Comment: No response from reporter. -- Ticket URL: <https://trac.macports.org/ticket/48723#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts