Wxpython installation on Windows needs to download the corresponding version on the Wxpython official website; Python is divided into 32 and 64-bit systems that are not 32-bit and 64-bit systems, so you can enter python under the IDE to see whether the current is 32 or 64-bit.
The installation path must not use the default path, to be changed to the path of the Python installation, otherwise, import WX will not find the module.
Workaround: The cause of the error is actually caused by the installation path error, installation can not fool like a brain next, you need to change the installation path, change in your Python installation path, such as my Python installation path is as follows: D:\SDK\Python, So select the path when installing:
Then next is all right!
After the installation is complete, you also need to see if the Sys.path contains the path of the Wxpython library, if not, you need to use Sys.path.append (R ' D:\SDK\Python\wx-2.8-msw-unicode ') to add.
Wxpython Installation Tutorials