On Sat, Jul 11, 2009 at 12:43 PM, Gael Varoquaux<gael.varoqu...@normalesup.org> wrote: > On Sat, Jul 11, 2009 at 12:38:13PM -0500, John Hunter wrote: >> 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 > > I am a bit like you. I believe these warning are not terribly helpful. > > Can you do an 'import wxversion; print wxversion.__file__', so that we > understand better why you are getting these warnings.
In [1]: import wxversion In [2]: print wxversion.__file__ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxversion.pyc In [3]: import wx In [4]: print wx.__version__ 2.8.3.0 In [5]: print wx.__file__ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/__init__.pyc In [6]: wxversion. wxversion.UPDATE_URL wxversion.__setattr__ wxversion.VersionError wxversion.__str__ wxversion._EM_DEBUG wxversion._find_default wxversion.__builtins__ wxversion._find_installed wxversion.__class__ wxversion._get_best_match wxversion.__delattr__ wxversion._pattern wxversion.__dict__ wxversion._selected wxversion.__doc__ wxversion._wxPackageInfo wxversion.__file__ wxversion.checkInstalled wxversion.__getattribute__ wxversion.ensureMinimal wxversion.__hash__ wxversion.fnmatch wxversion.__init__ wxversion.getInstalled wxversion.__name__ wxversion.glob wxversion.__new__ wxversion.os wxversion.__reduce__ wxversion.re wxversion.__reduce_ex__ wxversion.select wxversion.__repr__ wxversion.sys In [6]: wxversion.getInstalled? Type: function Base Class: <type 'function'> String Form: <function getInstalled at 0xe62e30> Namespace: Interactive File: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wxversion.py Definition: wxversion.getInstalled() Docstring: Returns a list of strings representing the installed wxPython versions that are found on the system. In [7]: wxversion.getInstalled() Out[7]: ['2.8-mac-unicode'] ------------------------------------------------------------------------------ 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