Jonathan Kane wrote: > Hi, > I have a Mac mini with Intel Duo processors. I downloaded and > installed python, numpy, and scipy on my machine. I downloaded already > built binaries from the website http://www.scipy.org/Download > > The file I downloaded was ScipySuperpack-Intel-10.4-py2.4 > matplotlib was a part of that package. > > This is what I get when I launch python, numpy, scipy, and matplotlib. > > adsl-69-154-179-12:~ seismic73$ python > ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on > Python 2.4.3 (#1, Apr 3 2006, 18:07:14) > [GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> >>>> from numpy import * >>>> from scipy import * >>>> from pylab import * > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py", > line 1, in ? > from matplotlib.pylab import * > ImportError: No module named matplotlib.pylab
Hrmm. Unfortunately, the matplotlib package in (at least) the Intel version is still missing matplotlib/__init__.py. You can download the file from here: http://matplotlib.svn.sourceforge.net/viewvc/*checkout*/matplotlib/trunk/matplotlib/lib/matplotlib/__init__.py?revision=2835 Put it in /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users