本文介绍了如何解决kivy.graphics DLL问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

叹息...这是关于Python永无止境的模块问题的另一个问题.我有Python 3.4和Windows8.我可以很好地导入Kivy,但是如果尝试导入kivy.graphics,则会遇到DLL问题:

Sigh...Here's another question about Python's never ending module issues. I have Python 3.4 and Windows 8. I can import Kivy fine, but if I try to import kivy.graphics, I ran into a DLL issue:

File "C:\Users\Young\Anaconda3\lib\site-packages\kivy\graphics\__init__.py",  line 89, in <module>
 from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
ImportError: DLL load failed: The specified module could not be found.

有人有什么线索吗?

推荐答案

我遇到了相同的错误,并通过以管理员身份重新安装kivy进行了修复.

I had the same error, and fixed it by re-installing kivy as an administrator.

右键单击cmd.exe,然后选择以管理员身份运行".然后在此处按照安装说明进行操作.

Right-click on cmd.exe and select "Run as administrator." Then follow the install instructions here.

这篇关于如何解决kivy.graphics DLL问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 06:12