python - Kivy on Mac 10.10 Yosemite using PyCharm CE -
as try run kivy's "hello world" example, error:
[info ] [logger ] record log in /users/mateusenricosrecaruso/.kivy/logs/kivy_15-05-14_9.txt [info ] [kivy ] v1.9.0 [info ] [python ] v2.7.6 (default, sep 9 2014, 15:04:36) [gcc 4.2.1 compatible apple llvm 6.0 (clang-600.0.39)] [info ] [factory ] 173 symbols loaded [info ] [image ] providers: img_tex, img_imageio, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored) [critical ] [text ] unable find valuable text provider @ all! sdl2 - importerror: dlopen(/applications/kivy.app/contents/resources/kivy/kivy/core/text/_text_sdl2.so, 2): library not loaded: @executable_path/../frameworks/sdl2.framework/versions/a/sdl2 referenced from: /applications/kivy.app/contents/resources/kivy/kivy/core/text/_text_sdl2.so reason: image not found file "/applications/kivy.app/contents/resources/kivy/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) file "/applications/kivy.app/contents/resources/kivy/kivy/core/text/text_sdl2.py", line 12, in <module> kivy.core.text._text_sdl2 import (_surfacecontainer, _get_extents, il - importerror: no module named pil file "/applications/kivy.app/contents/resources/kivy/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) file "/applications/kivy.app/contents/resources/kivy/kivy/core/text/text_pil.py", line 8, in <module> pil import image, imagefont, imagedraw [critical ] [app ] unable text provider, abort. process finished exit code 1
i don't know if should download pygame or (even though tried , kept saying installation couldn't completed due existence of macports or fink. used use spyder2 on anaconda python3.4 - i'm supposed use older python version make college's project. should do?
to install pil
paste following line in command line.
pip install pillow
Comments
Post a Comment