安裝的wxPython之後我下載並安裝該版本的wxPython爲使用我的Python 2.6的安裝:「進口WX」無法在Windows XP
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.9.1-py26.exe
當我運行Python和嘗試導入WX,我得到以下錯誤:
C:\Program Files\Console2>python
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in <module>
from wx._core import *
File "c:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 4, in <module>
import _core_
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
>>>
我已經嘗試刪除的wxPython和重新安裝,我得到了同樣的錯誤。我該如何解決這個問題?
我嘗試了ANSI版本,我仍然得到了同樣的錯誤:你可以在這裏下載。 – Dave 2008-11-25 20:18:35