#31419: numpy multiarray.so: wrong architecture --------------------------------------+------------------------------------- Reporter: macporter90210@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: --------------------------------------+------------------------------------- I installed py27-numpy, but I cant seem to import it. I did a succesful {{{ port selfupdate }}} before I installed py27-numpy. {{{ $ 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/xxxxx/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/xxxx/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/xxxxx/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 version installed: {{{ $ port installed py27-numpy The following ports are currently installed: py27-numpy @1.6.1_0 (active) }}} The architecture {{{ $ arch i386 $ machine i486 $ 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> MacPorts <http://www.macports.org/> Ports system for Mac OS