On Fri, Jul 10, 2009 at 4:33 PM, Eric Firing<efir...@hawaii.edu> wrote: > Gael Varoquaux wrote: >> On Fri, Jul 10, 2009 at 11:05:24PM +0200, Gael Varoquaux wrote: >>>> Committed to svn. Please check it. >> >>> Certainly does work betters. >> >> Actually, I beg your pardon, but it does not really work: if you have >> 2.6 and 2.8 installed, it will still import 2.6, which is not what you >> want. >> >> Here is a patch that works a bit better: it does import 2.8 even when 2.6 >> is installed: > > Committed, thank you.
I just updated mpl from svn and now get y:126: UserWarning: Update your wxversion.py to one including AlreadyImportedError "Update your wxversion.py to one including AlreadyImportedError") backend WXAgg version 2.8.3.0 If I can speak for the typical user, these kinds of warnings are usually annoying and not that helpful. I am a naive wx user -- I installed it many moons ago from a binary when I installed python and haven't thought about it since. I don't know what wxversion is or how to upgrade it. All I know is mpl was working fine, still works fine, and now generates an annoying warning. So I am not sure this is progress, but may help someone who has a complicated wx setup avoid difficult to trackdown bug. So I would prefer to silence this, but am not sure what the right solution is. Here is my wx installation In [6]: wx.__version__ Out[6]: '2.8.3.0' In [7]: !ls -ld /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx* drwxrwxr-x 5 root admin 170 Mar 22 2007 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode -rw-r--r-- 1 root admin 18 Mar 22 2007 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx.pth -rw-r--r-- 1 root admin 1266 Mar 22 2007 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxPython_common-2.8.3.0-py2.5.egg-info drwxr-xr-x 5 root admin 170 Mar 22 2007 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxaddons -rw-r--r-- 1 root admin 1259 Mar 22 2007 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxaddons-2.8.3.0-py2.5.egg-info -rw-r--r-- 1 root admin 17809 Mar 16 2006 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxversion.py -rw-r--r-- 1 jdhunter admin 15750 Mar 23 20:28 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxversion.pyc JDH ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel