Python ImportError: No module named wx

Python ImportError: No module named wx

Ubuntu:

sudo apt-get install python-wxtools

Windows:

  1. Go to C:Python27Libsite-packages find the folder wx-<version>-msw or similar

  2. Move the wx from the above folder to C:Python27Libsite-packages

Python ImportError: No module named wx

For Windows and MacOS, Simply install it with pip

pip install -U wxPython

Reference: Official site

Leave a Reply

Your email address will not be published. Required fields are marked *