ImportError:...Polar

I just upgraded to matplotlib 0.82 on a Win2K box running Python 2.3.5. I used the matplotlib-0.82.win32-py2.3.exe installer.

When I try to import matplotlib.pylab I get the following error:

E:\>python
Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pylab
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "D:\ENTHOU~1\Lib\site-packages\matplotlib\pylab.py", line 198, in ?
     from axes import Axes, PolarAxes
   File "D:\ENTHOU~1\Lib\site-packages\matplotlib\axes.py", line 13, in ?
     from artist import Artist, setp
   File "D:\ENTHOU~1\Lib\site-packages\matplotlib\artist.py", line 4, in ?
     from transforms import identity_transform
   File "D:\ENTHOU~1\Lib\site-packages\matplotlib\transforms.py", line 190, in ?
     from _transforms import IDENTITY, LOG10, POLAR, Func, FuncXY
ImportError: cannot import name POLAR

There was a post to this effect on matplotlib-users by Cory Davis on 10/25/04 but no response. Any help would be appreciated.

thanks,
Danny

Danny Shevitz wrote:

I just upgraded to matplotlib 0.82 on a Win2K box running Python 2.3.5. I used the matplotlib-0.82.win32-py2.3.exe installer.

When I try to import matplotlib.pylab I get the following error:

E:\>python
Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pylab
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\pylab.py", line 198, in ?
    from axes import Axes, PolarAxes
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\axes.py", line 13, in ?
    from artist import Artist, setp
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\artist.py", line 4, in ?
    from transforms import identity_transform
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\transforms.py", line 190, in ?
    from _transforms import IDENTITY, LOG10, POLAR, Func, FuncXY
ImportError: cannot import name POLAR

There was a post to this effect on matplotlib-users by Cory Davis on 10/25/04 but no response. Any help would be appreciated.

thanks,
Danny

I think the thing to do is to completely remove site-pacages/matplotlib, then reinstall. I think.

embarrassing, but that did it. I never uninstalled the previous version.

D

···

At 09:54 PM 6/15/2005 -0400, you wrote:

Danny Shevitz wrote:

I just upgraded to matplotlib 0.82 on a Win2K box running Python 2.3.5. I used the matplotlib-0.82.win32-py2.3.exe installer.

When I try to import matplotlib.pylab I get the following error:

E:\>python
Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pylab
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\pylab.py", line 198, in ?
    from axes import Axes, PolarAxes
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\axes.py", line 13, in ?
    from artist import Artist, setp
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\artist.py", line 4, in ?
    from transforms import identity_transform
  File "D:\ENTHOU~1\Lib\site-packages\matplotlib\transforms.py", line 190, in ?
    from _transforms import IDENTITY, LOG10, POLAR, Func, FuncXY
ImportError: cannot import name POLAR

There was a post to this effect on matplotlib-users by Cory Davis on 10/25/04 but no response. Any help would be appreciated.

thanks,
Danny

I think the thing to do is to completely remove site-pacages/matplotlib, then reinstall. I think.