“import wx” fails after installation of wxPython on Windows XP

前端 未结 9 1223
庸人自扰
庸人自扰 2021-01-13 23:49

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条回答
  • 2021-01-14 00:13

    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.

    0 讨论(0)
  • 2021-01-14 00:18

    Another late answer, but I recently had issues (8/14) and my solution was to use the 32-bit instead of 64-bit wxPython version.

    0 讨论(0)
  • 2021-01-14 00:21

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

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