py27-wxpython-* not working
Neil Voss
vossman77 at gmail.com
Sat Apr 30 16:05:44 PDT 2016
I cannot get wxPython to work on my mac. I have tried installing all of
the available ports (py27-wxpython-2.8, py27-wxpython-3.0), to no avail.
I keep getting 'ImportError: No module named wx'
Can you provide me any tips to debug this? Google has not been helpful.
Relevant code below:
MacBook Pro (Retina 13-inch, Late 2013)
OS X El Capitan, v 10.11.4
# sudo port installed | grep -i wx
mkvtoolnix @7.9.0_0+wxwidgets (active)
py27-wxpython-3.0 @3.0.2.0_0 (active)
wxPython-3.0 @3.0.2_5 (active)
wxWidgets-3.0 @3.0.2_4 (active)
wxWidgets-common @3.1.0_0 (active)
wxWidgets_select @1.0_1 (active)# sudo port select --set wxWidgets
wxWidgets-3.0
Selecting 'wxWidgets-3.0' for 'wxWidgets' succeeded. 'wxWidgets-3.0' is
now active.
# python -c 'import wx'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named wx
# which python
/opt/local/bin/python
# python -V
Python 2.7.10
More information about the macports-users
mailing list