• <tfoot id='BcNmK'></tfoot>

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

      1. <legend id='BcNmK'><style id='BcNmK'><dir id='BcNmK'><q id='BcNmK'></q></dir></style></legend>

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

        为什么kivy无法导入kivy_clock?

        时间:2023-09-01
          <tbody id='6bjxi'></tbody>
        <tfoot id='6bjxi'></tfoot>

          <small id='6bjxi'></small><noframes id='6bjxi'>

                <legend id='6bjxi'><style id='6bjxi'><dir id='6bjxi'><q id='6bjxi'></q></dir></style></legend>
              • <i id='6bjxi'><tr id='6bjxi'><dt id='6bjxi'><q id='6bjxi'><span id='6bjxi'><b id='6bjxi'><form id='6bjxi'><ins id='6bjxi'></ins><ul id='6bjxi'></ul><sub id='6bjxi'></sub></form><legend id='6bjxi'></legend><bdo id='6bjxi'><pre id='6bjxi'><center id='6bjxi'></center></pre></bdo></b><th id='6bjxi'></th></span></q></dt></tr></i><div id='6bjxi'><tfoot id='6bjxi'></tfoot><dl id='6bjxi'><fieldset id='6bjxi'></fieldset></dl></div>
                • <bdo id='6bjxi'></bdo><ul id='6bjxi'></ul>
                  本文介绍了为什么kivy无法导入kivy_clock?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  https://kivy.org/doc/stable/api-kivy.app.html

                  import kivy
                  
                  kivy.require('1.0.7')
                  
                  from kivy.app import App
                  
                  from kivy.uix.button import Button
                  
                  
                  class TestApp(App):
                  
                  def build(self):
                      # return a Button() as a root widget
                      return Button(text='hello world')
                  
                  
                  if __name__ == '__main__':
                      TestApp().run()
                  

                  根据上面的代码我有以下错误

                  [INFO   ] [Logger      ] Record log in C:UsersUSER.kivylogskivy_20-05-09_45.txt
                  [INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.1.10
                  [INFO   ] [Kivy        ] v1.11.1
                  [INFO   ] [Kivy        ] Installed at "C:UsersUSERAppDataLocalProgramsPythonPython38-32libsite-packageskivy\__init__.py"
                  [INFO   ] [Python      ] v3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)]
                  [INFO   ] [Python      ] Interpreter at "C:UsersUSERAppDataLocalProgramsPythonPython38-32python.exe"
                  [ERROR  ] [Clock       ] Unable to import kivy._clock. Have you perhaps forgotten to compile kivy? Kivy contains Cython code which needs to be compiled. A missing kivy._clock often indicates the Cython code has not been compiled. Please follow the installation instructions and make sure to compile Kivy
                   Traceback (most recent call last):
                     File "C:/Users/USER/PycharmProjects/Hello world/pop.py", line 4, in <module>
                       from kivy.app import App
                     File "C:UsersUSERAppDataLocalProgramsPythonPython38-32libsite-packageskivyapp.py", line 319, in <module>
                       from kivy.base import runTouchApp, stopTouchApp
                     File "C:UsersUSERAppDataLocalProgramsPythonPython38-32libsite-packageskivyase.py", line 26, in <module>
                       from kivy.clock import Clock
                     File "C:UsersUSERAppDataLocalProgramsPythonPython38-32libsite-packageskivyclock.py", line 363, in <module>
                       from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent, 
                   ModuleNotFoundError: No module named 'kivy._clock'
                  

                  我认为 kivy_clock 和 Cython 有问题.

                  I think there is a problem with the kivy_clock and Cython.

                  推荐答案

                  因为你安装了 Kivy,你并没有编译它,也没有安装预编译版本.

                  Because however you installed Kivy, you didn't compile it or install a precompiled version.

                  您是否按照 kivy.org 的说明进行操作?

                  Did you follow the instructions as kivy.org?

                  这篇关于为什么kivy无法导入kivy_clock?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Kivy 中的 HTTPS 请求 下一篇:如何捕获 kivy-client 崩溃日志并将其发送到我的服

                  相关文章

                  最新文章

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

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

                      <tfoot id='x7Hss'></tfoot>

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