<small id='BzGSh'></small><noframes id='BzGSh'>

  • <legend id='BzGSh'><style id='BzGSh'><dir id='BzGSh'><q id='BzGSh'></q></dir></style></legend>

        <bdo id='BzGSh'></bdo><ul id='BzGSh'></ul>
      <tfoot id='BzGSh'></tfoot>

        <i id='BzGSh'><tr id='BzGSh'><dt id='BzGSh'><q id='BzGSh'><span id='BzGSh'><b id='BzGSh'><form id='BzGSh'><ins id='BzGSh'></ins><ul id='BzGSh'></ul><sub id='BzGSh'></sub></form><legend id='BzGSh'></legend><bdo id='BzGSh'><pre id='BzGSh'><center id='BzGSh'></center></pre></bdo></b><th id='BzGSh'></th></span></q></dt></tr></i><div id='BzGSh'><tfoot id='BzGSh'></tfoot><dl id='BzGSh'><fieldset id='BzGSh'></fieldset></dl></div>

      1. Kivy-python:运行 Hello World 时出错

        时间:2023-10-10
      2. <small id='QMeT2'></small><noframes id='QMeT2'>

        <tfoot id='QMeT2'></tfoot>

        • <i id='QMeT2'><tr id='QMeT2'><dt id='QMeT2'><q id='QMeT2'><span id='QMeT2'><b id='QMeT2'><form id='QMeT2'><ins id='QMeT2'></ins><ul id='QMeT2'></ul><sub id='QMeT2'></sub></form><legend id='QMeT2'></legend><bdo id='QMeT2'><pre id='QMeT2'><center id='QMeT2'></center></pre></bdo></b><th id='QMeT2'></th></span></q></dt></tr></i><div id='QMeT2'><tfoot id='QMeT2'></tfoot><dl id='QMeT2'><fieldset id='QMeT2'></fieldset></dl></div>
          <legend id='QMeT2'><style id='QMeT2'><dir id='QMeT2'><q id='QMeT2'></q></dir></style></legend>
              <tbody id='QMeT2'></tbody>

              • <bdo id='QMeT2'></bdo><ul id='QMeT2'></ul>

                  本文介绍了Kivy-python:运行 Hello World 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  安装 Kivy 后,我尝试运行 Hello World 应用程序,但出现错误.我用谷歌搜索但找不到满意的答案.这是错误:

                  After installing Kivy, I tried to run a Hello World app, but I get an error. I've google it but cannot find satisfied answer. Here is the error:

                  [INFO   ] Kivy v1.8.0
                  [INFO   ] [Logger      ] Record log in /home/duong/.kivy/logs/kivy_14-04-16_1.txt
                  [INFO   ] [Factory     ] 157 symbols loaded
                  [DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
                  [DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s
                  [DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
                  [INFO   ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif 
                  [DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
                  [DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
                  [INFO   ] [Text        ] Provider: pygame
                  [DEBUG  ] [App         ] Loading kv <./my.kv>
                  [DEBUG  ] [App         ] kv <./my.kv> not found
                  [DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)
                  [INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
                  [WARNING] [WinPygame   ] Video: failed (multisamples=2)
                  [WARNING] [WinPygame   ] trying without antialiasing
                  [ERROR  ] [Window      ] Unable to use pygame
                  [ERROR  ] [Window      ] The module raised an important error: "Couldn't find matching   GLX visual"
                   Exception kivy.core.CoreCriticalException: CoreCriticalException("Couldn't find matching GLX visual",) in 'kivy.properties.dpi2px' ignored
                  [DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)
                  [INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
                  [WARNING] [WinPygame   ] SDL wrapper failed to import!
                  [DEBUG  ] [Window      ] Ignored <sdl> (import error)
                  [DEBUG  ] [Window      ] Ignored <x11> (import error)
                  [CRITICAL] [Window      ] Unable to find any valuable Window provider at all!
                  [CRITICAL] [App         ] Unable to get a Window, abort.
                  

                  推荐答案

                  该错误通常是由于您的计算机的图形芯片非常差,或者显卡驱动程序差.您的卡和驱动程序必须支持 OpenGL ES 2 才能使 Kivy 应用程序正常工作.如果您在虚拟机中运行它,请确保您已为该虚拟机打开 3D 加速.

                  That error is usually due to your computer having a very poor graphics chip, or poor video card drivers. Your card and drivers must support OpenGL ES 2 for Kivy apps to work. If you are running this in a virtual machine, make sure you have turned on 3D acceleration for that VM.

                  这篇关于Kivy-python:运行 Hello World 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Kivy 外部规则继承 下一篇:Kivy 时钟和弹出窗口

                  相关文章

                  最新文章

                    • <bdo id='sYuww'></bdo><ul id='sYuww'></ul>
                    <tfoot id='sYuww'></tfoot>

                  1. <i id='sYuww'><tr id='sYuww'><dt id='sYuww'><q id='sYuww'><span id='sYuww'><b id='sYuww'><form id='sYuww'><ins id='sYuww'></ins><ul id='sYuww'></ul><sub id='sYuww'></sub></form><legend id='sYuww'></legend><bdo id='sYuww'><pre id='sYuww'><center id='sYuww'></center></pre></bdo></b><th id='sYuww'></th></span></q></dt></tr></i><div id='sYuww'><tfoot id='sYuww'></tfoot><dl id='sYuww'><fieldset id='sYuww'></fieldset></dl></div>

                    <legend id='sYuww'><style id='sYuww'><dir id='sYuww'><q id='sYuww'></q></dir></style></legend>

                      <small id='sYuww'></small><noframes id='sYuww'>