[wingide-users] Using Kivy with Wing: exception on from kivy.graphics.instructions import Callback,

Mary Leland mary.leland at mechsol.com
Wed Apr 4 11:09:34 MDT 2012


I am trying to use the Kivy toolkit (http://kivy.org) in Wing.
When I try to run a simple example, I get the following exception:

--------------------------------------------------------------------
ImportError: DLL load failed: The specified module could not be found.
File "c:\Projects\Python\KivyExperiments\HelloWorld1.py", line 5, in <module>
   from kivy.uix.button import Button
File "C:\Python27\Lib\site-packages\Kivy-1.1.1-w32\kivy\kivy\uix\button.py", line 38, in <module>
   from kivy.uix.label import Label
File "C:\Python27\Lib\site-packages\Kivy-1.1.1-w32\kivy\kivy\uix\label.py", line 93, in <module>
   from kivy.uix.widget import Widget
File "C:\Python27\Lib\site-packages\Kivy-1.1.1-w32\kivy\kivy\uix\widget.py", line 65, in <module>
   from kivy.graphics import Canvas
File "C:\Python27\Lib\site-packages\Kivy-1.1.1-w32\kivy\kivy\graphics\__init__.py", line 33, in <module>
   from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
-----------------------------------------------------------------------------------------

The kivy/graphics directory has the following instructions.* files:
instructions.c, instructions.pxd, instructions.pyd, instructions.pyx
There does not seem to be a plain instructions.py file.

Additional information: Kivy supplies a .bat file to set its environment.  I have attempted to 
duplicate those settings in the Wing Project Properties, and can successfully do things like "from 
kivy.app import App".

Thanks for any help or suggestions.



More information about the wingide-users mailing list