我想达到什么目的?
我正在尝试完成使用 kivy 制作 android 应用程序的教程,并在 Windows 10 内的 Ubuntu VirtualBox 中运行 buildozer(本教程的说明:https://www.youtube.com/watch?v=EupAeyL8zAo)并在我的移动设备上运行该应用程序。
我哪里有问题?
我已经尝试了五次,在运行命令 buildozer android debug deploy run
后出现此错误(从项目文件夹中):
我尝试过什么来解决这个问题?
pip install Cython
和 pip3 install Cython
)和 VirtualBox 中的 Ubunu 上都安装了 cython。在每种情况下,我都会得到 Requirement already satisfied...
. PS
在许多帖子中,我看到人们要求提供完整的日志。在阅读了有关此主题的许多问题之后,我仍然对完整日志的实际含义一无所知。如果提供的错误消息不是正确的部分,我也可以尝试获取完整的日志。我也是 Kivy、buildozer 和 VirtualBox 的新手,而且我以前从未使用过 ubuntu 来开发东西。
最佳答案
我在教程的评论中找到了修复。
sudo apt install libssl-dev
rm -rf .buildozer
以下是教程制作者 Erik Sanberg 的全部评论:
Try
sudo apt install libssl-dev
and thenrm -rf .buildozer
in the directory that has your buildozer.spec file. Then you can try deploying it again. It's a bug recently introduced that will be patched up soon I believe.
来源:https://www.youtube.com/watch?v=EupAeyL8zAo
关于ubuntu - 为什么我收到错误消息 "Could not find a version that satisfies the requirement Cython",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70467725/