[英]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:我正在尝试将我的 Python 文件转换为虚拟机(Ubuntu 操作系统)上的 APK 文件,但首先我必须在 Ubuntu 上安装 Kivy 库。在我观看的 Udemy 视频中,我必须只做一件事:
bash kivy-buildozer-installer.sh
When I run this, everything goes well until here:当我运行它时,一切顺利,直到这里:
After that I got more than 100 lines of errors.
之后我得到了 100 多行错误。 This is a part of them:
这是其中的一部分:
pip install kivy
pip3 install kivy
sudo pip install kivy
and they got the same error with bash kivy-buildozer-installer.sh
.他们得到了与
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.当我尝试按照您的方式安装它时,我也遇到了很多问题,但是
sudo apt install python3-kivy
对我有用。 I advise you to try that.我建议你试试看。
Kivy wheel is not yet available for python 3.8 Kivy 轮子还不能用于 python 3.8
This issue is mentioned ingithub issues github issues中提到了这个问题
You can still install it using您仍然可以使用安装它
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.