Skip to content Skip to sidebar Skip to footer

Wxpython Import Error: Dll Load Failed

Installed wxpython 2.8-unicode with Python 2.7 on Windows 7 32-bit. During import, below Import Error occurs: Traceback ...\python27\site-packages\wx-2.8-msw-unicode\wx_core.py in

Solution 1:

There are several suggestions at "import wx" fails after installation of wxPython on Windows XP such as to install the MSVC 2008 redistributable, or to reboot your computer.

EDIT: I've also found this link helpful: embedding wxPython in VisualStudio 2005 C/C++ fails

I'm having the same problem, and I'm trying to figure out the correct version of the MSVC 2008 redistributable, and where to put the manifest.

Solution 2:

The below code worked for me, just try it out.

import wxversion
wxversion.select('3.0')
import wx

Post a Comment for "Wxpython Import Error: Dll Load Failed"