I hope you don't mind if I bump this.

I'm curious if Eric, or any others from the following thread had a comment on this issue:
http://www.nabble.com/Selecting-WX2.8-in-examples-td22380586.html

I don't mind upgrading if that's what's required, but I was just wondering if this issue was an intended result of the patch.

Best,
-Tony


On May 8, 2009, at 8:46 PM, Tony S Yu wrote:

I'm running into the following error with the wx backend

import wx
import matplotlib.backends.backend_wxagg
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/
matplotlib/backends/backend_wxagg.py", line 23, in <module>
   import backend_wx    # already uses wxversion.ensureMinimal('2.8')
 File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/
matplotlib/backends/backend_wx.py", line 120, in <module>
   except wxversion.AlreadyImportedError:
AttributeError: 'module' object has no attribute
'AlreadyImportedError'

This problem seems to be related to additions made here:
http://www.nabble.com/Selecting-WX2.8-in-examples-td22380586.html

The problem is that my version of wxversion raises 'VersionError'
instead of 'AlreadyImportedError'.

I'm running wxPython 2.8.4.0 while people in the above thread seem to
be using at least 2.8.7.1. Do I need to upgrade, or is this a bug?

Thanks,
-Tony

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel






------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to