【发布时间】:2020-08-31 06:05:40
【问题描述】:
我正在尝试使用 Buildozer 将一个简单的程序编译为适用于 Android 的 apk,但遇到了以下问题。你能帮忙吗?我尝试升级 pip 但没有帮助:python3 -m pip install --upgrade pip
所以,我恢复到原来的 pip 版本。
单独安装 Cython:pip3 install Cython
但同样的问题仍然存在。我很茫然。 :-(
命令:buildozer android debug
RAN: /bin/bash -c 'venv/bin/pip install Cython'
STDOUT:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
我该如何解决这个问题?
Could not fetch URL https://pypi.org/simple/cython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/cython/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
ERROR: No matching distribution found for Cython
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
【问题讨论】:
-
我在macos上还是有这个问题。尝试了许多版本的openssl,但没有...