From: Sandro T. <mo...@de...> - 2009-03-06 21:12:30
|
Hello, we are facing a problem in Debian where a user has problems running embedding_in_wx*.py examples. The problem is: >>> from wx import * Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute '__DocFilter' >>> import wx >>> print wx.__version__ 2.6.3.2 Since WX2.8 is the one to use, the solution is simple: >>> import wxversion >>> wxversion.select('2.8') >>> from wx import * >>> wx.__version__ '2.8.7.1' That solves the problem of multi-wx on a system. What do you think about adding those 2 line into wx examples? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |