kmchord9 / dockerImage_kivy

0 stars 0 forks source link

kivy error #2

Open kmchord9 opened 3 years ago

kmchord9 commented 3 years ago

[Window ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes egl_rpi - Exception: Unknown type, no loader found. File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 71, in core_select_lib cls = cls() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 981, in init self.create_window() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_egl_rpi.py", line 41, in create_window super(WindowEglRpi, self).create_window() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 1258, in create_window self.render_context = RenderContext() File "kivy/graphics/instructions.pyx", line 783, in kivy.graphics.instructions.RenderContext.init File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 561, in init self.filename = arg File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 756, in _set_filename mipmap=self._mipmap, nocache=self._nocache) File "/usr/local/lib/python3.7/site-packages/kivy/core/image/init.py", line 463, in load raise Exception('Unknown <%s> type, no loader found.' % ext)

sdl2 - RuntimeError: b'No available video device' File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 71, in core_select_lib cls = cls() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py", line 152, in init super(WindowSDL, self).init() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/init.py", line 981, in init self.create_window() File "/usr/local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py", line 290, in create_window self.get_gl_backend_name()) File "kivy/core/window/_window_sdl2.pyx", line 110, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window File "kivy/core/window/_window_sdl2.pyx", line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die

x11 - ModuleNotFoundError: No module named 'kivy.core.window.window_x11' File "/usr/local/lib/python3.7/site-packages/kivy/core/init.py", line 63, in core_select_lib fromlist=[modulename], level=0)

kmchord9 commented 3 years ago

dockerの仮想環境下でkivyを実行

kmchord9 commented 3 years ago

pip install pillow

sudo apt-get install -y python-pil

https://qiita.com/mix_dvd/items/d08763779058189f56bd