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

-gideon

On Feb 22, 2011, at 2:17 PM, Darren Dale wrote:

> On Tue, Feb 22, 2011 at 1:35 PM, Gideon Simpson
> <simp...@math.toronto.edu> wrote:
>> Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at 
>> python.org, and I am trying to get mpl 1.0.1 running.  I have no problem 
>> with numpy/scipy, but I seem to be having 32 vs. 64 bit issues with mpl.  I 
>> believe that the binaries online are only 32 bit, yet my installation is 64 
>> bit.  I have tried using the make.osx file, but this has not proved 
>> successful so far.  In part, I am trying to avoid installing duplicate 
>> png/zlib/freetype/... libraries, which seem to be working fine at present.  
>> Has anyone successfully gotten this running from source?  Alternatively, 
>> does anyone have 64 bit binaries?
> 
> Maybe you could post some error messages or build output.
> 
> I am using python-2.7, png/zlib/freetype installed from macports on OS
> X 10.6, and I don't need to use make.osx. I just run python setup.py
> build and it appears to work fine.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to