【发布时间】:2013-06-05 15:48:49
【问题描述】:
我无法让 Kivy 在 Windows 7 上使用 PyCharm。我已设法通过文件 > 设置 > Python 解释器 > 路径选项卡添加大部分外部库。
我使用的是 Kivy 版本的 Python。 当我在 PyCharm 中使用 [右键单击 > 发送到 > kivy.bat] 方法运行 Kivy 应用程序时,它给了我这个错误:
Failed modules
Python 2.7.3 (C:/Python27/python.exe)
_imagingtk
dde
gtk._gtk
pangocairo
Generation of skeletons for the modules above will be tried again when the modules are updated or a new version of generator is available
我认为问题可能与 cython 有关,因为我的文件无法识别 Cython *.pxd 格式的 kivy.properties 文件。
【问题讨论】:
-
这里有更好更直接的答案。 stackoverflow.com/a/38002737/7515189
标签: python windows python-2.7 pycharm kivy