(forgot to reply to list) Hi,
I'm guessing that you've wound up with a mix of a newer matplotlib py files and older matplotlib .so extensions, since polar stuff is a relatively new part of matplotlib AFAIK. Try completely removing /Library/Python/matplotlib/ and re-installing. As an alternative to installing it yourself, you can use the fink version (http://fink.sourceforge.net/) which is kept up to date. After installing fink just do "fink install matplotlib-py23" and use /sw/bin/python2.3 to run matplotlib stuff. I prefer using the fink version of python for this kind of stuff, it's easier to manage. Michael On Mon, 3 Jan 2005 13:20:26 -0800, Larry Meyn <[EMAIL PROTECTED]> wrote: > Has anyone had problems with installing and using matplotlib under OS X? > > I've tried installing the last couple of versions and while > installation goes smoothly it crashes when I try to import from pylab, > as shown below > > >>> from pylab import * > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/pylab.py", line 1, in ? > from matplotlib.pylab import * > File > "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/matplotlib/pylab.py", line 194, in ? > from axes import Axes, PolarAxes > File > "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/matplotlib/axes.py", line 16, in ? > from artist import Artist > File > "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/matplotlib/artist.py", line 3, in ? > from transforms import identity_transform > File > "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/matplotlib/transforms.py", line 189, in ? > from _transforms import IDENTITY, LOG10, POLAR, Func, FuncXY > ImportError: cannot import name POLAR > > I running python 2.3 on OS X 10.3.7 with Numeric 23.6 installed. Any > help with this would be greatly appreciated. > > Larry > > Larry Meyn > Aerospace Operations Modeling Office > NASA Ames Research Center > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig