#31419: py27-numpy: multiarray.so: wrong architecture --------------------------------------+------------------------------------- Reporter: macporter90210@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-numpy --------------------------------------+------------------------------------- Comment(by macporter90210@…): I installed py27-numpy +universal and uninstalled the deactivated components. I also installed py27-ipython +universal. However, while trying to install py27-scipy +universal, I ran into the same problem. The situation right now is: {{{ $ port -v installed python27 py27-numpy The following ports are currently installed: py27-numpy @1.6.1_0+universal (active) platform='darwin 9' archs='i386 ppc x86_64' python27 @2.7.2_1+universal (active) platform='darwin 9' archs='i386 ppc x86_64' }}} and, {{{ $ python2.7 Python 2.7.2 (default, Sep 26 2011, 17:23:25) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import numpy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/xxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/__init__.py", line 137, in <module> import add_newdocs File "/Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/add_newdocs.py", line 9, in <module> from numpy.lib import add_newdoc File "/Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/lib/__init__.py", line 4, in <module> from type_check import * File "/Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/lib/type_check.py", line 8, in <module> import numpy.core.numeric as _nx File "/Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/__init__.py", line 5, in <module> import multiarray ImportError: dlopen(/Users/xxxxxx/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: /Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so: mach-o, but wrong architecture
}}}
The build is still the same {{{ $ file ~/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so /Users/xxxxx/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so: Mach-O bundle i386 }}} -- Ticket URL: <https://trac.macports.org/ticket/31419#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS