wxPython import error
问题 I'm having trouble figuring out an error message in Python. yesterday, I've installed python using the latest EPD package, and wxPython2.9 using the wxPython2.9-osx-cocoa-py2.7 package for Mac OS. I then added wx to my PYTHONPATH. export WXDIR=/usr/local/lib/wxPython-2.9.1.1/lib/python2.7/site-packages/wx-2.9.1-osx_cocoa export PYTHONPATH=$WXDIR export PYTHONPATH=$PYTHONPATH:$WXDIR/tools but when I try to run stuff I get this error: In [14]: import matplotlib.pyplot --------------------------