1

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.

Does anybody have any clue?

MLhacker
  • 1,382
  • 4
  • 20
  • 35
  • Sounds like Kivy is maybe not compiled correctly. Are the shared object files present (e.g. kivy/graphics/instructions.dll, I guess)? – inclement Jan 16 '16 at 12:50
  • I think graphics.instruction is dependent on Callback, Canvas, and Canvasbase modules. But they don't appear to be in the Kivy directory. But, I might have overlooked those given that there's hundreds of files in dozens of folders. – MLhacker Jan 16 '16 at 17:08
  • 1
    Try my answer here http://stackoverflow.com/a/36146464/3163618 – qwr Mar 26 '16 at 20:20

1 Answers1

2

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

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

KSully2
  • 149
  • 1
  • 13
  • I had same isseus and other depns. issues, when install kivy or any other pip for window, always run as administrator, this really fix issues. – Tejas Tank Nov 28 '16 at 08:01