Skip to content Skip to sidebar Skip to footer

"import Wx" Fails After Installation Of Wxpython On Windows Xp

I downloaded and installed this version of wxPython for use with my Python 2.6 installation: http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.9.1-py26.exe Wh

Solution 1:

I was getting the same error.

After some googling found this link to MSVC++ 2008 Redestributable and installed it.

That solved the problem.

Solution 2:

Hate to say this, but I had the same problem, and and import worked fine after a reboot.

Solution 3:

Copy the Microsoft C runtime library v.9 files and manifest. That is, msvcr90.dll and microsoft.vc90.crt.manifest from folder python to the folder wx, tha is, folder which contains failed to start DLLs.

Or install the Visual C++ 2008 Redistributable Package.

Solution 4:

From looking for "application configuration is incorrect" in the wxPython trac system, the only reference that might make sense is a 64-bit vs 32-bit compatibility issue.

Otherwise, I'd say Brian's answer of trying ANSI is pretty good.

BTW, if you try uninstalling again, make go into the site-packages folder and make sure all the wx and wxPython stuff is deleted.

Solution 5:

Try the ANSI version instead of the Unicode one. IIRC it needs to match the Python 2.6 install to work properly.

Post a Comment for ""import Wx" Fails After Installation Of Wxpython On Windows Xp"