Install kivy

本文提供了如何正确安装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', '前端开发']
摘要由CSDN通过智能技术生成

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 Pytho

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值