Installing the Library
We will use the kivy library to build a mobile app in Python. Below you will find the instructions on how to install kivy.
Important note: Do not simply use pip install kivy to install kivy because even though the command may run without errors, you may get a [CRITICAL] [App] Unable to get a Window, abort error later on when you run a kivy app. Instead, see the instructions below in order to install kivy correctly.
Mac and Linux users
Kivy currently only works with Python 3.7 or earlier on Mac and Linux. You might want to install Python 3.7 first, and then install kivy for your Python 3.7 with:
python3.7 -m pip install kivy
Tip: If you just installed Python 3.7, make sure to configure your IDE to use Python

本文提供了如何正确安装Kivy库以避免使用pip install kivy可能遇到的问题。对于Mac和Linux用户,建议安装Python 3.7并遵循特定的安装步骤。Windows用户则根据Python版本运行相应的命令。如果遇到[CRITICAL] [App] Unable to get a Window, abort错误,有额外的解决建议。确保安装Microsoft C++ Build Tools可解决某些错误。"
125876177,5999720,创建jQuery自定义Tab插件,"['jQuery', '前端框架', 'JavaScript', '前端开发']
最低0.47元/天 解锁文章
744

被折叠的 条评论
为什么被折叠?



