【问题标题】:ERROR: Could not find a version that satisfies the requirement Cython (from versions: none) ERROR: No matching distribution found for Cython [duplicate]错误:找不到满足 Cython 要求的版本(来自版本:无)错误:找不到 Cython 的匹配分发 [重复]
【发布时间】:2020-05-11 08:03:17
【问题描述】:

操作系统 - Ubuntu 18.04.4 LTS;蟒蛇3;基维 1.11.1;
cython - 0.29.9(推荐用于 kivy 1.11.1,但也在今天尝试了最新版本)

当我执行 buildozer -v android debug 时,出现了许多错误,但在谷歌搜索的帮助下得到了解决。但这花了我将近 3 天的时间,但我仍然卡住了。我已经截取了详细描述的屏幕截图,但我想问题出在 cython 或 tls/ssl 模块上。

【问题讨论】:

    标签: android ssl kivy cython buildozer


    【解决方案1】:

    我遇到了同样的问题,这解决了它:

    sudo apt-get update
    sudo apt-get install libssl-dev
    

    (在再次运行 buildozer 之前,我还删除了 .buildozer 文件夹。)

    (见:https://stackoverflow.com/a/61712462/13350398

    【讨论】:

      【解决方案2】:

      问题是在为 buildozer 安装依赖项时未安装 libssl-dev

      运行以下命令

      sudo apt-get update
      sudo apt-get install libssl-dev
      buildozer android clean
      

      然后做

      buildozer android debug deploy run
      

      这应该可以解决问题。

      详细答案请参考this

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-01-20
        • 2020-02-17
        • 2020-07-24
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多