Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Loading… 1.4.1 lacks modules PIL and cv #767

rogererens opened this Issue · 1 comment

1 participant


Trying to run the examples/demo/ on Mac OSX 10.7.5 Lion, I get ImportErrors:

$ kivy 
[INFO   ] Kivy v1.4.1
[INFO   ] [Logger      ] Record log in /Users/roger/.kivy/logs/kivy_12-10-25_5.txt
[INFO   ] [Factory     ] 123 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
[WARNING] [Image       ] Unable to use <pil> as loader!
[DEBUG  ] 
Traceback (most recent call last):
  File "/Applications/", line 97, in core_register_libs
  File "/Applications/", line 8, in <module>
    from PIL import Image as PILImage
ImportError: No module named PIL
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=60s
[DEBUG  ] [Cache       ] register <kivy.loader> with limit=500, timeout=60s
[INFO   ] [Loader      ] using <pygame> as thread loader
[WARNING] [Camera      ] Unable to use <opencv> as cameraprovider
[WARNING] [Camera      ] Associated module are missing
[DEBUG  ] 
Traceback (most recent call last):
  File "/Applications/", line 47, in core_select_lib
    fromlist=[modulename], level=-1)
  File "/Applications/", line 20, in <module>
    import cv
ImportError: No module named cv
[CRITICAL] [Camera      ] Unable to find any valuable Camera provider at all!
[DEBUG  ] [App         ] kv <./puzzle.kv> not found
[INFO   ] [Window      ] using <pygame> as window provider
[INFO   ] [GL          ] OpenGL version <2.1 ATI-7.32.12>
[INFO   ] [GL          ] OpenGL vendor <ATI Technologies Inc.>
[INFO   ] [GL          ] OpenGL renderer <AMD Radeon HD 6630M OpenGL Engine>
[INFO   ] [GL          ] Shading version <1.20>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [Shader      ] fragment compiled successfully
[INFO   ] [Shader      ] vertex compiled successfully
[DEBUG  ] [ImagePygame ] Load </Applications/>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 Traceback (most recent call last):
   File "", line 83, in <module>
   File "/Applications/", line 523, in run
     root =
   File "", line 68, in build
     puzzle = Puzzle(resolution=(640, 480), play=True)
   File "/Applications/", line 90, in __init__
   File "/Applications/", line 102, in _on_index
     resolution=self.resolution, stopped=True)
 TypeError: 'NoneType' object is not callable

This happened on a machine without a camera attached, so running a camera-oriented application does not really make sense. A check on availability of a camera and corresponding response would be nicer, though.
Also, kivy 1.4.1 is superseded as well.

@rogererens rogererens closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.