I installed wxPython 3.0.1.1
, but I'm unable to import wx
using Python 3.4.1
. I am getting the following error:
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 00:54:21)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'wx'
Nevertheless, I can import wx
if I use Python 2.7
(the default installation in my OS X 10.9
):
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
How can I use wxPython for Python 3, and specifically for Python 3.4.1?