lors de l’installation de kivy dans la machine virtuelle Android Kivy

J’ai un problème lors de l’installation de Kivy dans la machine virtuelle Android Kivy. Ceci est tout le terminal m’aider si vous ne pouvez pas ou proposer l’idée que je suis dans VM VM.

kivy@kivy-VirtualBox:~/Desktop/work/pygame$ python main.py [INFO ] [Logger ] Record log in /home/kivy/.kivy/logs/kivy_17-04-12_14.txt [INFO ] [Kivy ] v1.9.1 [INFO ] [Python ] v2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] [INFO ] [Factory ] 179 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [OSC ] using  for socket [INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored) libGL error: pci id for fd 7: 80ee:beef, driver (null) OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table OpenGL Warning: glVertexArrayRangeNV not found in mesa table OpenGL Warning: glCombinerInputNV not found in mesa table OpenGL Warning: glCombinerOutputNV not found in mesa table OpenGL Warning: glCombinerParameterfNV not found in mesa table OpenGL Warning: glCombinerParameterfvNV not found in mesa table OpenGL Warning: glCombinerParameteriNV not found in mesa table OpenGL Warning: glCombinerParameterivNV not found in mesa table OpenGL Warning: glFinalCombinerInputNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table OpenGL Warning: glDeleteFencesNV not found in mesa table OpenGL Warning: glFinishFenceNV not found in mesa table OpenGL Warning: glGenFencesNV not found in mesa table OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not found in mesa table OpenGL Warning: glTestFenceNV not found in mesa table libGL error: core dri or dri2 extension not found libGL error: failed to load driver: vboxvideo [INFO ] [GL ] OpenGL version  [INFO ] [GL ] OpenGL vendor  [INFO ] [GL ] OpenGL renderer  [INFO ] [GL ] OpenGL parsed version: 1, 1 [CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found! OpenGL version detected: 1.1 Version: 1.1 Chromium 1.9 Vendor: Humper Renderer: Chromium Try upgrading your graphics drivers and/or your graphics hardware in case of problems. The application will leave now. [INFO ] [GL ] Shading version  [INFO ] [GL ] Texture max size  [INFO ] [GL ] Texture max units  [CRITICAL] [Window ] Unable to find any valuable Window provider at all! egl_rpi - ImportError: cannot import name bcm File "/usr/lib/python2.7/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib fromlist=[modulename], level=0) File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in  from kivy.lib.vidcore_lite import bcm, egl sdl2 - Exception: Shader didnt link, check info log. File "/usr/lib/python2.7/dist-packages/kivy/core/__init__.py", line 67, in core_select_lib cls = cls() File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 138, in __init__ super(WindowSDL, self).__init__() File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 722, in __init__ self.create_window() File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 255, in create_window super(WindowSDL, self).create_window() File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 897, in create_window self.render_context = RenderContext() File "instructions.pyx", line 750, in kivy.graphics.instructions.RenderContext.__init__ (kivy/graphics/instructions.c:10001) File "shader.pyx", line 184, in kivy.graphics.shader.Shader.__init__ (kivy/graphics/shader.c:3742) File "shader.pyx", line 687, in kivy.graphics.shader.Shader.vs.__set__ (kivy/graphics/shader.c:9979) File "shader.pyx", line 549, in kivy.graphics.shader.Shader.build_vertex (kivy/graphics/shader.c:8218) File "shader.pyx", line 579, in kivy.graphics.shader.Shader.link_program (kivy/graphics/shader.c:8596) x11 - ImportError: No module named window_x11 File "/usr/lib/python2.7/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib fromlist=[modulename], level=0) [CRITICAL] [App ] Unable to get a Window, abort. Exception SystemExit: 1 in 'kivy.properties.dpi2px' ignored [CRITICAL] [App ] Unable to get a Window, abort. kivy@kivy-VirtualBox:~/Desktop/work/pygame$ 

pygame et tout le truc et regarde ceci:

 ImportError: cannot import name bcm-------- and this ---------- ImportError: No module named window_x11 

 [CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found! 

C’est l’erreur la plus importante et elle vous indique que vous n’avez pas de version OpenGL appropriée. J’ai réussi à faire fonctionner Kivy dans la VM, mais c’était après un changement de Pygame en tant que fournisseur par défaut pour le SDL2, donc je vous dirige vers l’installation sdl2 .

En outre, pour que cela fonctionne, vous devez d’abord activer l’accélération 3D dans VirtualBox, afin que Kivy puisse réellement utiliser le GPU. Pour cela, voir 3.5 Paramètres d’affichage pour bien faire les choses. IIRC, c’est dans SettingsDisplay3D acceleration , mais vérifiez le manuel s’ils l’ont modifié.