天天看点

如何为ubuntu20.04安装Kivy

执行以下命令:

$ sudo add-apt-repository ppa:kivy-team/kivy
           
$ sudo apt-get update
           
$ sudo apt-get install python3-kivy
           
$ sudo apt-get install kivy-examples
           

参考链接

如果遇到错误像的这样,参考我的另一博文:

404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.