【发布时间】:2014-01-02 01:09:10
【问题描述】:
我刚用过
sudo easy_install wx
和
sudo easy_install wxpython
安装 wx 和 wxpython。现在,当我尝试运行其中包含 import wx 或 import wxpython 的脚本时,我收到一条错误消息,提示未安装此类库。仅当我在 IDLE 中编写脚本然后运行它时才会发生这种情况。如果我在 iPython 中执行此操作,则模块已正确加载。这种错误的原因是什么?如何了解如何处理和修复此类错误?
【问题讨论】:
标签: python-2.7 wxpython ipython python-idle