I downloaded daily build and did
python3 setup.py build

and then
python3 setup.py install

So far so good!
I tried import wx and no errors
I tried to run the program here and all I got was the error below.

Have anyone got wxPython working with Py3 especially on Linux (Debian/Ubuntu)

python3 test.py 
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    import wx
  File "/usr/local/lib/python3.3/dist-packages/wx/__init__.py", line 17, in <module>
    from wx.core import *
  File "/usr/local/lib/python3.3/dist-packages/wx/core.py", line 6, in <module>
    from ._core import *
ImportError: No module named 'wx._core'

TIA,
Stefano

Recommended Answers

All 3 Replies

I get the same error

Traceback (most recent call last):
  File "test.py", line 13, in <module>
    import wx
  File "/usr/local/lib/python3.3/dist-packages/wx/__init__.py", line 17, in <module>
    from wx.core import *
  File "/usr/local/lib/python3.3/dist-packages/wx/core.py", line 6, in <module>
    from ._core import *
ImportError: No module named 'wx._core'

Have you tried it in Linux?
I know its in alpha but at least it should be usable ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.