Doesn't work with on OSX (import matrix error)

15 views
Skip to first unread message

marcin ignac

unread,
Nov 12, 2009, 11:24:41 PM11/12/09
to PixelSnap Users
Hi,

I'm using 0.47pre4 on OSX 10.6.2 64bit and every time i run PixelSnap
i get this error:

Traceback (most recent call last):
File "Contents/Resources/extensions/pixelsnap.py", line 42, in
<module>
from numpy import matrix
File "/Applications/Inkscape.app/Contents/Resources/python/site-
packages/i386/2.6/numpy/__init__.py", line 130, in <module>
import add_newdocs
File "/Applications/Inkscape.app/Contents/Resources/python/site-
packages/i386/2.6/numpy/add_newdocs.py", line 9, in <module>
from lib import add_newdoc
File "/Applications/Inkscape.app/Contents/Resources/python/site-
packages/i386/2.6/numpy/lib/__init__.py", line 152, in <module>
from type_check import *
File "/Applications/Inkscape.app/Contents/Resources/python/site-
packages/i386/2.6/numpy/lib/type_check.py", line 8, in <module>
import numpy.core.numeric as _nx
File "/Applications/Inkscape.app/Contents/Resources/python/site-
packages/i386/2.6/numpy/core/__init__.py", line 5, in <module>
import multiarray
ImportError: dlopen(/Applications/Inkscape.app/Contents/Resources/
python/site-packages/i386/2.6/numpy/core/multiarray.so, 2): no
suitable image found. Did find:
/Applications/Inkscape.app/Contents/Resources/python/site-packages/
i386/2.6/numpy/core/multiarray.so: mach-o, but wrong architecture

Niels Olson

unread,
Nov 13, 2009, 7:46:47 AM11/13/09
to pixelsn...@googlegroups.com
so it would appear to be an issue with numpy on 64-bit.

Bryan Hoyt

unread,
Nov 29, 2009, 2:02:53 PM11/29/09
to pixelsn...@googlegroups.com
Hi, an issue's been added to the issue tracker by sp...@lin.us.com, who was experiencing exactly the same problem.

I don't run a 64-bit machine, or PPC, just i386, so I can't test any theories, but there's some further ideas to try here: http://mail.python.org/pipermail/pythonmac-sig/2006-March/016691.html

See issue 4 for the bug & discussion here: http://code.google.com/p/pixelsnap/issues/detail?id=4

Let us know how things work out for you. Once we find a solution, I'll add it to the installation notes.

 - Bry
Reply all
Reply to author
Forward
0 new messages