Opened 9 years ago

Closed 8 years ago

#48723 closed defect (invalid)

Failed to activate py34-numpy

Reported by: resmi.raju@… Owned by: dh@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: michaelld (Michael Dickens), mojca (Mojca Miklavec)
Port: py-numpy

Description

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.

Attachments (1)

main.log (1.9 KB) - added by resmi.raju@… 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by resmi.raju@…

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… added
Keywords: numpy removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to dh@…
Port: py34-numpy added
Priority: HighNormal

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.

comment:2 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 9 years ago by petrrr

Cc: petr@… removed

Cc Me!

comment:4 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Port: py-numpy added; py34-numpy removed

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

No response from reporter.

Note: See TracTickets for help on using tickets.