我在Windows 7上使用PyCharm无法让Kivy正常工作。我已经通过File > Settings > Python interpreters > Paths Tab成功添加了大部分外部库。
我正在使用Python的Kivy版本。 当我使用[右键 > 发送到 > kivy.bat]方法在PyCharm中运行一个可以正常工作的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有关,因为我的文件无法识别kivy.properties文件,该文件属于Cython的*.pxd格式。