I attempted to install Pylab on my own computer and so far have had no
success. I followed these steps:
1) downloaded Python 2.6 for OS 10.4
2) downloaded the corresponding numpy and installed it (successfully)
3) downloaded the corresponding matplotlib
(matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg) and installed it [One
possible cause for the error is that, though the package includes
"macosx10.4", the actual installing package (which one can see if one tries
a customized install) says "macosx10.5".]
4) Attempted to run Python and import Pylab. I got an error related to
_tkinter not being found (even though it is installed). I looked all over
the forums for this error, and it seems that the only solution is to edit
the setup.py file and recompile matplotlib. However, because I installed
from a binary, I cannot do this. So I attempted to install from source:
5) I downloaded matplotlib-1.0.0.tar.gz and untarred it. Then I ran:
'make' (which supposedly takes care of finding out where all the Mac stuff
is located) and 
'python setup.py build', the default command for building Python modules.
Now I get a ton of errors, the first one being:
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers in any
* of '.', './freetype2'.
As a third try, I attempted to install using easy_install, a tool for
installing Python modules:
6) I ran 'easy_install matplotlib'. This runs very quickly (suspicious)
7) The same error as in step 4 comes up when trying to import pylab
 I went into
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
and deleted all matplotlib-related stuff, thinking that maybe easy_install
didn't do anything because matplotlib was already installed
9) Repeated step 6, and saw the same errors that came up when trying to
install from source

Any ideas?
Thanks,
Pablo
-- 
View this message in context: 
http://old.nabble.com/Installing-matplotlib-on-Tiger-tp30112187p30112187.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to