Hi, I am having trouble installing matplotlib. I have OS X 10.5 with Python 2.6
 downloaded and installed from python.org.
 (10.5 came with Apple
 Python 2.5). I've also installed NumPy and SciPy for Python 2.6.
I've
 tried EasyInstall, svn, and dmg. The dmg expects Apple Python 2.6 so 
that's out. For the EasyInstall and svn routes I think I must be missing
 some external libraries? Below are some snippets of warnings/error 
messages:

from EasyInstall:
$ easy_install matplotlib

 
           matplotlib: 0.99.3
warning: no files found matching 
'MANIFEST'
warning: no files found matching 'lib/mpl_toolkits'
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 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 warning: in /opt/local/lib/libpng12.dylib, file is 
not of required architecture
ld warning: in 
/opt/local/lib/libz.dylib, file is not of required architecture
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/libxml2.2.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/folders/Yh/Yh3On1j+FXW+r-334Wk-vk+++TI/-Tmp-//ccWD9nm4.out (No such
 file or directory)
error: Setup script exited with error: command 
'c++' failed with exit status 1

from SVN:
$ python setup.py build
            
matplotlib: 1.0.svn
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/libxml2.2.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/folders/Yh/Yh3On1j+FXW+r-334Wk-vk+++TI/-Tmp-//cc6cv190.out (No such
 file or directory)
error: command 'c++' failed with exit status 1

and
 in both throughout the messages there are references to "linker input 
file unused because linking not done" for
powerpc-apple-darwin9-gcc-4.0.1
 and i686-apple-darwin9-gcc-4.0.1.

I'd tried the EPD version also
 (and had it working), but then EasyInstall would direct me to their 
repositories (for which I did not have a password) so I could not download and 
install RPy2 and other modules (easily), so I decided to build up 
from individual components...

Any advice you can provide on 
helping me complete the matplotlib installation? I think after this I 
will have the basics for data analysis in Python (with NumPy and SciPy).

Thanks!
Stephen

                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to