I am having problems installing on Leopard.
It is not clear what your are renaming and to what.

I download a zip file
matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg.zip

This extracts to a directory named
matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg

Do I rename this directory and remove -fat from the name so it is
matplotlib-0.98.0-py2.5-macosx-10.3.egg

I tried this but it didn't work


sudo easy_install  /Volumes/Aux/ServerSync/Install/Python/MacPython/ 
Python2.5.x/Matplotlib/matplotlib-0.98.0-py2.5-macosx-10.3.egg
Password:
Processing matplotlib-0.98.0-py2.5-macosx-10.3.egg
Copying matplotlib-0.98.0-py2.5-macosx-10.3.egg to /Library/Frameworks/ 
Python.framework/Versions/2.5/lib/python2.5/site-packages
Adding matplotlib 0.98.0 to easy-install.pth file

Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3.egg
Processing dependencies for matplotlib==0.98.0
Searching for matplotlib==0.98.0
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading 
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading 
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading 
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.98.0
Downloading 
http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.0.tar.gz?modtime=1212104461&big_mirror=0
Processing matplotlib-0.98.0.tar.gz
Running matplotlib-0.98.0/setup.py -q bdist_egg --dist-dir /tmp/ 
easy_install-ELrNzS/matplotlib-0.98.0/egg-dist-tmp-Yaf5pv
= 
= 
= 
= 
========================================================================
BUILDING MATPLOTLIB
             matplotlib: 0.98.0
                 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)  [GCC
                         4.0.1 (Apple Computer, Inc. build 5363)]
               platform: darwin

REQUIRED DEPENDENCIES
                  numpy: 1.1.0
              freetype2: 9.16.3

OPTIONAL BACKEND DEPENDENCIES
                 libpng: 1.2.25
                Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
               wxPython: 2.8.7.1
                         * WxAgg extension not required for wxPython  
 >= 2.8
                   Gtk+: no
                         * Building for Gtk+ requires pygtk; you must  
be able
                         * to "import gtk" in your build/install  
environment
                     Qt: no
                    Qt4: no
                  Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
               datetime: present, version unknown
               dateutil: 1.4
                   pytz: 2007k

OPTIONAL USETEX DEPENDENCIES
                 dvipng: 1.9
            ghostscript: 8.61
                  latex: 3.141592
                pdftops: 3.02

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
              configobj: matplotlib will provide
       enthought.traits: matplotlib will provide

[Edit setup.cfg to suppress the above messages]
= 
= 
= 
= 
========================================================================
warning: no files found matching 'NUMARRAY_ISSUES'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'matplotlibrc'
warning: no files found matching 'makeswig.py'
warning: no files found matching 'lib/mpl_toolkits'
no previously-included directories found matching 'examples/_tmp_*'
warning: no files found matching '*' under directory 'swig'
In file included from /usr/include/math.h:26,
                  from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/pyport.h:231,
                  from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/Python.h:57,
                  from ./CXX/WrapPython.h:42,
                  from CXX/cxxextensions.c:38:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types  
for built-in function ‘scalb’
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of  
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required  
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required  
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccWbB6PA.out (No such file or  
directory)
error: Setup script exited with error: command 'g++' failed with exit  
status 1
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
image.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0x6227878>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
path.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0x62270f8>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
backend_agg.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0x6227468>> ignored


On 06 Jun 2008, at 03:07 , Andrew Charles wrote:

> I had this problem too, on Leopard. Trying to easy_install the egg
> named as downloaded from sourceforge results in stuff being downloaded
> and failing to build.
>
> Renaming the egg as suggested by Vincent results in an 'easy install'.
>
> -------------------------
> Andrew Charles
> Centre for Australian Weather and Climate,
> Australian Bureau of Meteorology.
> Condensed Matter Theory Group,
> RMIT University.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax

**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to