LINUX.ORG.RU

VBox.Debian 10. Kivy. No matching FB config found при исполнении кода Python

 , , ,


0

1

Стоит виртуалка. Установлены kivy и kivymd. При исполнении самого минимального кода из-за вызова метода run() возникает ошибка. Вот код программы:

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):    
    def build(self):
        return Button()

if __name__ == '__main__':
    MyApp().run()


Вот вывод при выполнении:
qaz@debian:~/code$ python3 main.py
[INFO   ] [Logger      ] Record log in /home/qaz/.kivy/logs/kivy_19-07-09_23.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "/usr/local/lib/python3.7/dist-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
[INFO   ] [Factory     ] 184 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [KivyMD      ] KivyMD version: 0.100.2
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [Window      ] Provider: x11(['window_egl_rpi', 'window_sdl2'] ignored)
No matching FB config foundq


Линуксом пользуюсь совсем недавно, так что прошу простить за глупость

У меня такая же проблема

Linux mint python 3.7.4 kivy v1.11.1

/home/sidney/PycharmProjects/teste/venv/bin/python /home/sidney/PycharmProjects/teste/novo.py [INFO ] [Logger ] Record log in /home/sidney/.kivy/logs/kivy_19-10-17_23.txt [INFO ] [Kivy ] v1.11.1 [INFO ] [Kivy ] Installed at «/home/sidney/PycharmProjects/teste/venv/lib/python3.7/site-packages/kivy/__init__.py» [INFO ] [Python ] v3.7.4 (default, Nov 10 2011, 15:00:00) [GCC 9.2.0] [INFO ] [Python ] Interpreter at «/home/sidney/PycharmProjects/teste/venv/bin/python» [INFO ] [Factory ] 184 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: x11(['window_egl_rpi', 'window_sdl2'] ignored) No matching FB config found Process finished with exit code 102

anonymous ()

У меня такая же проблема

Linux mint python 3.7.4 kivy v1.11.1

/home/sidney/PycharmProjects/teste/venv/bin/python /home/sidney/PycharmProjects/teste/novo.py [INFO ] [Logger ] Record log in /home/sidney/.kivy/logs/kivy_19-10-17_23.txt [INFO ] [Kivy ] v1.11.1 [INFO ] [Kivy ] Installed at «/home/sidney/PycharmProjects/teste/venv/lib/python3.7/site-packages/kivy/__init__.py» [INFO ] [Python ] v3.7.4 (default, Nov 10 2011, 15:00:00) [GCC 9.2.0] [INFO ] [Python ] Interpreter at «/home/sidney/PycharmProjects/teste/venv/bin/python» [INFO ] [Factory ] 184 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: x11(['window_egl_rpi', 'window_sdl2'] ignored) No matching FB config found Process finished with exit code 102

anonymous ()