I eventually got it to mostly work using:
³sudo port install py26-matplotlib @1.0.1 +gtk2²

It doesn't match the correct egg format it seems, but it does work.


On 8/10/11 11:01 AM, "David Just" <just.da...@mayo.edu> wrote:

> Hello,
> 
> I¹ve been trying to install matplotlib correctly for the past couple of days.
> 
> I¹m using a macports python2.6 built with +universal on.
> 
> If I install with the the downloadable .egg file I end up with a message that
> states that _path.so has problems. (built for 32bit I guess)
> ImportError: 
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
> .6/site-packages/matplotlib-1.0.1_r0-py2.6.egg/matplotlib/_path.so, 2): no
> suitable image found.  Did find:
>     
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site
> -packages/matplotlib-1.0.1_r0-py2.6.egg/matplotlib/_path.so: no matching
> architecture in universal wrapper
> 
> 
> If I install with easy_install-2.6 matplotlib  from source I get the
> following:
>     ....
>     Best match: matplotlib 0.91.1
>     ....
>     src/_image.cpp:952: error: Œpng_infopp_NULL¹ was not declared in this
> scope    
>     error: Setup script exited with error: command '/usr/bin/gcc-4.2' failed
> with exit status 1
> 
> If I install with port install matplotlib it fails because the install in not
> the correct path structure in the site-packages folder.
> 
> 
> I¹ve tried searching the web and have found some indications that I need to
> install 32bit python 2.6  but cannot find how to do that, and all of my
> production machinese have 64bit python installed on them.
> 
> 
> Any help at this point would be appreciated.
> Thanks. 
> 
> 
> 
> 

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to