Re: `import wx` raising `AttributeError`

Charlotte VAN DEN DRIESSCHE <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
hello,

I am struggling with the same issue I guess trying to import wx  
but I quite understand the problem, but how did you solve the problem 
practically ?
my knowledge are limited and I just would like to use gui with psychopy ...

thanks for you answer!
Charlotte



On Monday, October 21, 2019 at 6:03:52 PM UTC+2, Robin Dunn wrote:
>
>
>
> 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/06407c09-5872-4e5f-b117-58c6ffb60d6f%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.