码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu下安装kivy

时间:2019-12-29 20:41:51      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:参考   com   table   org   python3   lib   href   team   lubuntu   

参考:

  https://kivy.org/doc/stable/installation/installation-linux.html#ubuntu-kubuntu-xubuntu-lubuntu-saucy-and-above

  https://stackoverflow.com/questions/45476686/kivy-critical-app-unable-to-get-a-window-abort

 

step 1:

  sudo add-apt-repository ppa:kivy-team/kivy

step 2:

  sudo apt-get update

step 3:

  python2:sudo apt-get install python-kivy

  python3:sudo apt-get install python3-kivy

*step 4:

  sudo apt-get install kivy-examples

 

安装后出现如下问题时,解决方法:sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0

[CRITICAL] [App         ] Unable to get a Window, abort.

Ubuntu下安装kivy

标签:参考   com   table   org   python3   lib   href   team   lubuntu   

原文地址:https://www.cnblogs.com/flowjacky/p/12115987.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!