From: Philippe C. <kal...@ho...> - 2005-03-10 14:49:55
|
Hi, Sorry i have ever post this message in the support section of matplotlib.sourceforge.net Maybe it was bad. I try another time here :) I have Python 2.3 Pygtk 2.4.1 gtk runtime environnement 2.6.2 rc1 I tryied with every version of Matplotlib since 0.63. Same error is happening: ImportError: cannot import name POLAR. I decided to edit files: - C:\Python23\Lib\site-packages\matplotlib\axes.py l.36 put , NonSeparableTransformation in comment l.37 put ,Polar in comment - C:\Python23\Lib\site-packages\matplotlib\transforms.py l.189 put ,Polar in comment l.190 put , NonSeparableTransformation in comment After that, it works well. But i have no idea why this problem happened. A colleague of mine hadn't to do it and it works perfectly. Does someone have any idea? Thanks, Philippe Here is the excecution of the python program with --verbose-helpful option C:\>python "C:\Documents and Settings\cyril_2\Bureau\simple_plot.py" --verbose-h elpful matplotlib data path C:\Python23\share\matplotlib loaded rc file C:\Python23\share\matplotlib\.matplotlibrc matplotlib version 0.72 verbose.level helpful interactive is True platform is win32 numerix numarray 1.0 Traceback (most recent call last): File "C:\Documents and Settings\cyril_2\Bureau\simple_plot.py", line 3, in ? from pylab import * File "C:\Python23\Lib\site-packages\pylab.py", line 1, in ? from matplotlib.pylab import * File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 191, in ? from axes import Axes, PolarAxes File "C:\Python23\Lib\site-packages\matplotlib\axes.py", line 12, in ? |