From: Graeme O'K. <gj...@ne...> - 2005-02-03 04:20:39
|
Hi, I've installed matplotlib 0.71 on Mac OS X 10.3 which completed without errors. when I run python "import matplotlib" is fine, but "import pylab" bombs with "ImportError: cannot import name POLAR" see below for a screendump of the reported errors when I try to import pylab. I did not run this in the build directory. /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ site-packages (which is linked to /Library/Python/2.3) /Library/Python/2.3/matplotlib/transforms.py, line 189: from _transforms import IDENTITY, LOG10, POLAR, Func, FuncXY /Library/Python/2.3/matplotlib/_transforms.so exists and is 3503536 bytes in size. here is a screendump of the reported errors when I try to import pylab. I did not run this in the build directory. can anyone help? regards, Graeme [graeme:~/Desktop/downloads/matplotlib-0.71] gjok% python Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pylab 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 190, in ? from axes import Axes, PolarAxes File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/matplotlib/axes.py", line 12, 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 |