-2

当我运行代码时,我得到的只是无法导入 wx python。我将 wx python 放在 C:\Put a directory on PYTHONPATH here\Lib\site-packages 中。这似乎不起作用。有什么建议么?

4

2 回答 2

1

Make sure to properly install wxPython on your system using the appropriate installer binary for Windows, which you can download from wxPython.org).

于 2013-07-30T08:52:45.543 回答
0

根据您的系统要求(32/64 位)以及来自http://wxpython.org/download.php的 python 版本安装 wxpython并尝试运行您的代码。不要直接将 wxpython 目录放到 Python\Lib\site-packages 中,如果你安装它,它会自动在那里。

于 2014-03-14T08:47:43.470 回答