Closed SanketDG closed 9 years ago
Yeah, I think you need to get the new wxPython version.
When I did pip freeze
I got:
wxPython==3.0.2.0
wxPython-common==3.0.2.0
Hope this helps.
I'm using wxPython ver 3.0.2 as well; try updating and see if that fixes it.
Yeah works flawlessly in version 3.0.0. You can now close this.
I installed
wxPython
from the software repositories, and I checked the version it was 2.8. Then when I started it gave me the following error messageI tried importing
pub
from the python interpreter asand it did import, but there was indeed no
subscribe
module, it gave me anAttributeError
.I looked through the documentation and found this page:
pubsub
By following the instructions there, I could easily change the code and make everything work. The change is just two lines of code as follows,
This change should work.
Also, why am I having this problem? Is my version too old? Do I need to upgrade
3.0
? I can submit a pull request if this is a real issue and not just a problem with my machine.