Re: `import wx` raising `AttributeError`
Tim Roberts <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
Matt Newville wrote: > The report has this: > > /srv/conda/envs/notebook/lib/python3.6/site-packages/wx/__init__.py in<module> > 10 # Load the main version string into the package namespace > 11 import wx.__version__ > ---> 12__version__= wx.__version__.VERSION_STRING > 13 > 14 > > AttributeError: module 'wx' has no attribute '__version__' It's not clear to me how line 12 could fail if line 11 did not. How do you import wx? Is it more complicated than "import wx"? -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. -- 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/88c7f5c8-4440-a605-7f24-f10b57eced37%40probo.com.
smime.p7s
(application/pkcs7-signature, 3.3 KB) - not displayed