ubuntu - 为什么我收到错误消息 "Could not find a version that satisfies the requirement Cython"

标签 ubuntu kivy virtualbox cython buildozer

我想达到什么目的?
我正在尝试完成使用 kivy 制作 android 应用程序的教程,并在 Windows 10 内的 Ubuntu VirtualBox 中运行 buildozer(本教程的说明:https://www.youtube.com/watch?v=EupAeyL8zAo)并在我的移动设备上运行该应用程序。
我哪里有问题?
我已经尝试了五次,在运行命令 buildozer android debug deploy run 后出现此错误(从项目文件夹中):enter image description here
我尝试过什么来解决这个问题?

  • 我在我的 Windows 10(带有 pip install Cythonpip3 install Cython )和 VirtualBox 中的 Ubunu 上都安装了 cython。在每种情况下,我都会得到 Requirement already satisfied... .
  • 在将 Cython 安装到 Windows 10 后,我启动了新的 VirtualBox 环境。
  • 我尝试遵循这些说明/命令:https://stackoverflow.com/a/68452164/14694631

  • PS
    在许多帖子中,我看到人们要求提供完整的日志。在阅读了有关此主题的许多问题之后,我仍然对完整日志的实际含义一无所知。如果提供的错误消息不是正确的部分,我也可以尝试获取完整的日志。我也是 Kivy、buildozer 和 VirtualBox 的新手,而且我以前从未使用过 ubuntu 来开发东西。

    最佳答案

    我在教程的评论中找到了修复。

  • sudo apt install libssl-dev
  • rm -rf .buildozer
  • 再次部署应用

  • 以下是教程制作者 Erik Sanberg 的全部评论:

    Try sudo apt install libssl-dev and then rm -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/

    相关文章:

    windows - Vagrant 无法识别 x64-Windows7 上的 VirtualBox(已经在运行 JRuby)

    ruby-on-rails - 运行错误 'requirements_debian_libs_install libssl-dev' ,

    python - 如何将 OpenCV 的输出播放到 Kivy VideoPlayer 或任何其他播放器?

    python - 使用 Kivy 删除小部件

    python - Kivy 开关 on_active

    windows - 执行 `VBoxManage` 时出错(Vagrant/Virtualbox)

    ubuntu - 是否可以从我不是管理员的系统上的容器中构建容器?

    linux - 如何在 gnome-terminal 中选择默认选项卡焦点?

    linux - 对目录中的文件使用 wc 后排序

    ubuntu - 在虚拟服务器上重新映射键