Re: `import wx` raising `AttributeError`
Robin Dunn <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, October 17, 2019 at 7:01:18 PM UTC-7, Matt Newville wrote: > > > The traceback they sent to me shows an AttributeError in which `wx` > doesn't have an attribute `__version__`. > I don't understand how that happens. > Is it possible that they are importing wx more than once, perhaps via using reload()? Or perhaps forcing a reload or import in some other way such as weird sys.path values making the wx modules be visible with separate paths? It may be helpful to examine the whole stacktrace and also the value of sys.modules.keys() at the time of the error or just before the import when the error is about to happen. -- Robin -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/6889f533-6f6a-48e8-8e08-5654e525173a%40googlegroups.com.