Image

Imageferrocene wrote in Imagepython_dev 😡frustrated

Installing MatPlotLib Python package on OS X 10.4.5

Have any of you Pythonistas out there had luck installing MatPlotLib on Mac OS X 10.4.5?

I've tried over and over and over again, trying every trick on every web page and user group I've found, and even asked some of the library's developers for help.

I've installed a seemingly endless string of dependencies, caught and corrected missed references and system variables, tried building an mpkg (which looked like it worked, but didn't really install everything needed).

Sorry for the lack of detail in this post (there's more detail behind the cut). This post is mainly a rant. :^/

I'll Orz to anyone who can point me in the right direction!


Modules Python thinks it has installed:

My Python installation:


Mac OSX 10.4.5, Active Python 2.4.2 Framework build


Cairo still won't configure properly: it can't find freetype and fontconfig. :(


Packages I've installed today, in no particular order(on top of what I already had):
glib-2.8.6
fontconfig-2.3.94
freetype-2.1.10
automake-1.9.6
glitz-0.5.3 (won't compile!)
libxml2-2.6.23
pango-1.10.1
tcl8.4.13
TclTkAquaBI-8.4.10.0
gtk+-2.8.9
pkgconfig-0.18
thread2.6.2
libpng-1.2.8
py2app-0.2-py2.4-macosx10.3
tla-1.3.4
pygtk-2.8.4
zlib-1.2.3
matplotlib-0.82-py2.4-macosx10.3


Foo:~/Desktop/cairo-1.0.2 bar$ python
ActivePython 2.4.2 Build 10 (ActiveState Corp.) based on
Python 2.4.2 (#1, Jan 17 2006, 17:03:20)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> help
Type help() for interactive help, or help(object) for help about object.
>>> help()

Welcome to Python 2.4! This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".

help> modules

Please wait a moment while I gather a list of all available modules...

AddressBook (package) StdSuites (package) cgitb plistlib
AppKit (package) StringIO chunk poisson
AppleScriptKit (package) SunImagePlugin cmath popen2
ArgImagePlugin SyncServices (package) cmd poplib
ArrayPrinter SystemEvents (package) code posix
Audio_mac TarIO codecs posixfile
Automator (package) Terminal (package) codeop posixpath
BaseHTTPServer TgaImagePlugin collections pprint
Bastion TiffImagePlugin colorsys precon
BdfFontFile TiffTags commands profile
BmpImagePlugin Tix compileall pstats
BufrStubImagePlugin Tkconstants compiler (package) pty
CGIHTTPServer Tkdnd cookielib pwd
Canvas Tkinter copy py2app (package)
Carbon (package) UserArray copy_reg py_compile
CodeWarrior (package) UserDict crypt pyclbr
ColorPicker UserList csv pydoc
ConfigParser UserString curses (package) pyexpat
ContainerIO WASTEconst datetime pylab
Cookie WalImageFile dbhash pysparse_version
CoreData (package) WebKit (package) dbm quopri
CurImagePlugin WmfImagePlugin decimal random
DcxImagePlugin XVThumbImagePlugin difflib ranlib
Dialog XbmImagePlugin dircache re
DiscRecording (package) XgridFoundation (package) dis reconvert
DiscRecordingUI (package) XpmImagePlugin distutils (package) regex
DocXMLRPCServer _AE doctest regex_syntax
EasyDialogs _AH dotblas (package) regsub
EpsImagePlugin _App dumbdbm repr
ExceptionHandling (package) _CF dummy_thread resource
ExifTags _CG dummy_threading rexec
Explorer (package) _CarbonEvt easy_install rfc822
FFT (package) _Cm email (package) rgbimg
FileDialog _Ctl encodings (package) rlcompleter
Finder (package) _Dlg errno robotparser
FitsStubImagePlugin _Drag exceptions sched
FixTk _Evt fcntl scipy (package)
FliImagePlugin _File filecmp select
FontFile _Fm fileinput sets
Foundation (package) _Folder findertools setuptools (package)
FpxImagePlugin _Help fnmatch sgmllib
FrameWork _IBCarbon formatter sha
GbrImagePlugin _Icn fpformat shelve
GdImageFile _LWPCookieJar ftplib shlex
GifImagePlugin _Launch gc shutil
GimpGradientFile _List gensuitemodule signal
GimpPaletteFile _Menu gestalt site
GribStubImagePlugin _Mlte getopt smtpd
HTMLParser _MozillaCookieJar getpass smtplib
Hdf5StubImagePlugin _OSA gettext sndhdr
IN _Qd glob socket
IcnsImagePlugin _Qdoffs gopherlib sparray
IcoImagePlugin _Qt grp spmatrix
ImImagePlugin _Res gzip spmatrix_util
Image _Scrap heapq sre
ImageChops _Snd hmac sre_compile
ImageColor _TE hotshot (package) sre_constants
ImageDraw _Win htmlentitydefs sre_parse
ImageEnhance __builtin__ htmllib stat
ImageFile __future__ httplib statcache
ImageFileIO __init__ ic statvfs
ImageFilter _bisect icglue string
ImageFont _bsddb icopen stringold
ImageGL _builtinSuites (package) idlelib (package) stringprep
ImageGrab _codecs ihooks strop
ImageOps _codecs_cn imageop struct
ImagePalette _codecs_hk imaplib subprocess
ImagePath _codecs_iso2022 imghdr sunau
ImageSequence _codecs_jp imp sunaudio
ImageStat _codecs_kr imputil superlu
ImageTk _codecs_tw inspect symbol
ImageTransform _csv itertools symtable
ImageWin _curses itsolvers sys
ImtImagePlugin _curses_panel itsolvers_util syslog
InterfaceBuilder (package) _dotblas jdsym tabnanny
IptcImagePlugin _heapq keyword tarfile
JpegImagePlugin _hotshot lapack_lite telnetlib
LinearAlgebra _imaging linecache tempfile
MA (package) _imagingft locale terminalcommand
MLab _imagingtk logging (package) termios
MacOS _locale macerrors test (package)
Matrix _multibytecodec macfs textwrap
McIdasImagePlugin _numpy macholib (package) this
Message (package) _random macostools thread
MicImagePlugin _socket macpath threading
MimeWriter _sre macresource time
MiniAEFrame _strptime macurl2path timeit
MpegImagePlugin _symtable mailbox timing
MspImagePlugin _testcapi mailcap tkColorChooser
Nav _threading_local markupbase tkCommonDialog
Netscape (package) _tkinter marshal tkFileDialog
Numeric _weakref math tkFont
Numeric_headers (package) activestate md5 tkMessageBox
OSAKit (package) aepack mhlib tkSimpleDialog
OSATerminology aetools mimetools toaiff
OleFileIO aetypes mimetypes token
PIL (package) aifc mimify tokenize
PSDraw altgraph (package) mmap trace
PaletteFile anydbm modulefinder traceback
PalmImagePlugin applesingle modulegraph (package) tty
PcdImagePlugin appletrawmain multiarray turtle
PcfFontFile appletrunner multifile types
PcxImagePlugin argvemulator mutex tzparse
PdfImagePlugin array netrc umath
PixMapWrapper arrayfns new umfpack
PixarImagePlugin asynchat nis unicodedata
PngImagePlugin asyncore nntplib unittest
PpmImagePlugin atexit ntpath urllib
Precision audiodev nturl2path urllib2
PreferencePanes (package) audioop numarray (package) urlparse
PsdImagePlugin autoGIL numeric_version user
PyObjCScripts (package) base64 numpy (package) uu
PyObjCTools (package) bdb objc (package) videoreader
QTKit (package) bdist_mpkg (package) opcode warnings
Quartz (package) bgenlocations operator wave
Queue binascii optparse weakref
RNG (package) binhex os webbrowser
RandomArray bisect os2emxpath whichdb
ScreenSaver (package) bsddb (package) parser whrandom
ScrolledText buildtools pdb xdrlib
SecurityInterface (package) bundlebuilder pickle xml (package)
SgiImagePlugin bz2 pickletools xmllib
SimpleDialog cPickle pimp xmlrpclib
SimpleHTTPServer cStringIO pipes xxsubtype
SimpleXMLRPCServer calendar pkg_resources zipfile
SocketServer cfmfile pkgutil zipimport
SpiderImagePlugin cgi platform zlib