[MacPorts] #48724: Failed to activate py34-numpy

MacPorts noreply at macports.org
Tue Aug 25 19:59:55 PDT 2015


#48724: 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/48724>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list