[MacPorts] #46990: Error: Processing of port py27-matplotlib failed
#46990: Error: Processing of port py27-matplotlib failed ------------------------+-------------------------------- Reporter: harrison@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ------------------------+-------------------------------- Hi All, I am very much a noob and am trying to install scipy via the instructions here for Mac - http://www.scipy.org/install.html - I am on Yoesmite 10.10.2 and Xcode 6.1.1. I have tried cleaning and following some other threads with the same error to find a solution but none seem to be working. The error in Terminal is - {{{ Error: org.macports.build for port py27-matplotlib returned: command execution failed Please see the log file for port py27-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-matplotlib failed }}} I've also attached the main.log -- Ticket URL: <https://trac.macports.org/ticket/46990> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed ------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-matplotlib | ------------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => sean@… * port: => py27-matplotlib Comment: This was not a clean build. Please [https://guide.macports.org/chunked/project.html#project.tickets clean and try again] and attach the new main.log if it fails again. The error in your log is: {{{ ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): no suitable image found. Did find: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so: mach-o, but wrong architecture }}} If that same error persists after cleaning and trying again, the first question would be: what is the architecture of that file? You can find out by running: {{{ lipo -info /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so }}} I see you are requesting a universal build. The above file is provided by the py27-numpy port, which is listed as a dependency of py27-matplotlib, so MacPorts should have already ensured that py27-matplotlib is installed with the universal variant (meaning: with the correct architectures) before ever attempting to build py27-matplotlib. To verify this, you can also run: {{{ port -v installed py27-numpy }}} -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed ------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-matplotlib | ------------------------------+-------------------- Comment (by harrison@…): So I've been trying a bunch of things but still getting errors. So I try and clean with {{{ sudo port clean py27-matplotlib }}} Then I run {{{ sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose }}} Which Results in: {{{ Error: Processing of port py27-matplotlib failed }}} So I run the next two commands you suggest and here are my results: {{{ lipo -info /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so Non-fat file: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so is architecture: i386 }}} {{{ port -v installed py27-numpy The following ports are currently installed: py27-numpy @1.9.1_2+gfortran+universal (active) platform='darwin 14' archs='i386 x86_64' }}} Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed ------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-matplotlib | ------------------------------+-------------------- Changes (by larryv@…): * cc: accrama@… (added) Comment: Has probable duplicate #48001. -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed ------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-matplotlib | ------------------------------+-------------------- Comment (by accrama@…): Cc Me ! Cleaning did not work. {{{ lipo -info /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so Non-fat file: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so is architecture: i386 $ port -v installed py27-numpy The following ports are currently installed: py27-numpy @1.9.2_0+gfortran-universal platform='darwin 14' archs='x86_64' py27-numpy @1.9.2_0+gfortran+universal (active) platform='darwin 14' archs='i386 x86_64' }}} -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed -------------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py-matplotlib py-numpy | -------------------------------------+-------------------- Changes (by petr@…): * cc: dh@…, michaelld@… (added) * port: py27-matplotlib => py-matplotlib py-numpy Comment: To me this looks like more like a numpy issue really. I therefore CC the maintainers of py-numpy. Note also that the following ticket might be related: #47359 -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46990: Error: Processing of port py27-matplotlib failed -------------------------------------+-------------------- Reporter: harrison@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: py-matplotlib py-numpy | -------------------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => worksforme Comment: This works for me and has been five months. -- Ticket URL: <https://trac.macports.org/ticket/46990#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts