svn build cannot import

I have built matplotlib from svn this morning (trunk), which was successful, but when I go to import anything, it fails:

>>> import pylab
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
>>> import matplotlib
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named matplotlib

However, when I look in my site-packages directory, matplotlib is clearly there:

Osoyoos:~ chris$ ls /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages
README modulegraph-0.7-py2.4.egg
activestate.py numpy
altgraph-0.6.7-py2.4.egg numpy-1.0rc1.dev3136-py2.4.egg-info
bdist_mpkg-0.4.2-py2.4.egg py2app-0.3.4-py2.4.egg
easy-install.pth pylab.py
macholib-1.1-py2.4.egg pylab.pyc
matplotlib pylab.pyo
matplotlib-0.87.5_r2761-py2.4-nspkg.pth setuptools-0.6c2-py2.4.egg
matplotlib-0.87.5_r2761-py2.4.egg-info setuptools.pth

I'm running on OS X using Python 2.4.3.

Any ideas? Thanks.

···

--
Christopher Fonnesbeck
+ Atlanta, GA
+ fonnesbeck at mac.com
+ Contact me on AOL IM using email address

I just built svn 2761 on linux, and didnt find any problems.

Darren

···

On Friday 08 September 2006 08:39, listservs@...935... wrote:

I have built matplotlib from svn this morning (trunk), which was

successful, but when I go to import anything, it fails:
>>> import pylab

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

>>> import matplotlib

Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named matplotlib

However, when I look in my site-packages directory, matplotlib is
clearly there:

Osoyoos:~ chris$ ls /Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages
README modulegraph-0.7-py2.4.egg
activestate.py numpy
altgraph-0.6.7-py2.4.egg numpy-1.0rc1.dev3136-
py2.4.egg-info
bdist_mpkg-0.4.2-py2.4.egg py2app-0.3.4-py2.4.egg
easy-install.pth pylab.py
macholib-1.1-py2.4.egg pylab.pyc
matplotlib pylab.pyo
matplotlib-0.87.5_r2761-py2.4-nspkg.pth setuptools-0.6c2-py2.4.egg
matplotlib-0.87.5_r2761-py2.4.egg-info setuptools.pth

I'm running on OS X using Python 2.4.3.

Any ideas? Thanks.

--
Christopher Fonnesbeck
+ Atlanta, GA
+ fonnesbeck at mac.com
+ Contact me on AOL IM using email address

-------------------------------------------------------------------------
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

--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

dd55@...163...
office: (607) 255-3819
fax: (607) 255-9001

Hi,

I you don't need to use svn, you might give this build a try:
http://pythonmac.org/packages/py24-fat/index.html

Christian

Christian Meesters wrote:

I you don't need to use svn, you might give this build a try:
http://pythonmac.org/packages/py24-fat/index.html

Or the latest build, which is now at:

http://euclid.uits.iupui.edu/mplfiles/

You'll need:

matplotlib-0.87.5-py2.4-macosx-10.4-fat.egg

and:

numpy-1.0b5-py2.4-macosx-10.4-fat.egg

(if you want to use numpy)

Charlie: I think we should give those to Bob I to put on the pythonmac site.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...