DLL load failed: 1% is not valid win32 application

前端 未结 3 478
甜味超标
甜味超标 2020-12-16 12:49
import wx

Traceback (most recent call last):
  File \"\", line 1, in 
    import wx
  File \"C:\\Python26\\lib\\site-packages\\wx-2.8-msw-unicode\\wx\\__init         


        
相关标签:
3条回答
  • 2020-12-16 13:11

    I had this problem in windows 7 with Python2.7 as I have installed 32bit wx version earlier. Try installing 64bit and it will work fine.If you are in 64 bit system and trying to install 32bit wx you will get some error at the beginning. So try 64bit wx.

    0 讨论(0)
  • 2020-12-16 13:26
    1. Make sure that your py shell version (win32 or win64). when you open idle. it will display the version.
    2. Download the wxpython for win32 and install. https://pypi.python.org/pypi/wxPython
    0 讨论(0)
  • 2020-12-16 13:32

    As mentioned by the other fellow, make sure you have a 64-bit Python AND a 64-bit wxPython version downloaded. If one or the other is 32-bit, it won't work. Personally, I have never had any problems installing wxPython on Windows.

    0 讨论(0)
提交回复
热议问题