简体   繁体   中英

Python Kivy library installation on Ubuntu OS got dependency errors

I'm trying to convert my Python file to APK file on virtual machine(Ubuntu OS) but at first I have to install Kivy library on Ubuntu. In the Udemy video that I watch, I must only do 1 thing:

  • bash kivy-buildozer-installer.sh

When I run this, everything goes well until here:

在此处输入图像描述 After that I got more than 100 lines of errors. This is a part of them:

在此处输入图像描述 I tried also

  • pip install kivy
  • pip3 install kivy
  • sudo pip install kivy

and they got the same error with bash kivy-buildozer-installer.sh .

I don't know what to do else.

I had a lot of problems too when I tried to install it your way but sudo apt install python3-kivy worked for me. I advise you to try that.

Kivy wheel is not yet available for python 3.8
This issue is mentioned ingithub issues
You can still install it using

pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM