python 3.x - how to get kivy run in a virtual box -
hej
i try play litte around ubuntu 14 lts 64bit @ oracle vm on windows 7. installing kivy python3 works fine. when want create app in python got following error:
[[1;32minfo[0m ] [logger ] record log in /home/stj/.kivy/logs/kivy_15-06-04_0.txt [[1;32minfo[0m ] [kivy ] v1.9.0 [[1;32minfo[0m ] [python ] v3.4.0 (default, apr 11 2014, 13:05:11) [gcc 4.8.2] [[1;32minfo[0m ] [factory ] 173 symbols loaded [[1;32minfo[0m ] [image ] providers: img_tex, img_dds, img_gif, img_pil (img_pygame, img_ffpyplayer ignored) [[1;31mcritical[0m] [window ] unable find valuable window provider @ all! egl_rpi - importerror: cannot import name 'bcm' file "/usr/local/lib/python3.4/dist-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) file "/usr/local/lib/python3.4/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module> kivy.lib.vidcore_lite import bcm, egl pygame - importerror: no module named 'pygame' file "/usr/local/lib/python3.4/dist-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) file "/usr/local/lib/python3.4/dist-packages/kivy/core/window/window_pygame.py", line 8, in <module> import pygame x11 - importerror: no module named 'kivy.core.window.window_x11' file "/usr/local/lib/python3.4/dist-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) [[1;31mcritical[0m] [app ] unable window, abort.
pygame installed , think packages x11 window manager. ideas?
the pygame installation python3 problem use following code solve it:
hg clone https://bitbucket.org/pygame/pygame cd pygame python3 setup.py build sudo python3 setup.py install cd .. sudo rm -rf pygame
based on kivy installation notes
Comments
Post a Comment