From: Paul I. <piv...@gm...> - 2011-02-22 22:04:22
|
Gideon Simpson, on 2011-02-22 16:21, wrote: > Here's the ouput I got: > > Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import pylab > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pylab.py", line 1, in <module> > from matplotlib.pylab import * > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/pylab.py", line 220, in <module> > from matplotlib import mpl # pulls in most modules > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl.py", line 1, in <module> > from matplotlib import artist > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", line 6, in <module> > from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/transforms.py", line 34, in <module> > from matplotlib._path import affine_transform > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so, 2): no suitable image found. Did find: > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so: mach-o, but wrong architecture Hi Gideon, this looks identical to http://old.nabble.com/-matplotlib-problem-td30888849.html The poster there solved the problem by using a 32 bit version of python. If that's not an option for you, please provide a more detailed description of the problems you run into building matplotlib for your 64-bit python. best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 |