Sho*_*Das 6 ssl pip kivy buildozer
我正在尝试使用 Buildozer 将一个简单的程序编译为适用于 Android 的 apk,但遇到了以下问题。你能帮忙吗?我尝试升级 pip 但这没有帮助:python3 -m pip install --upgrade pip
\n\n所以,我恢复到原来的 pip 版本。
\n\n单独安装Cython:pip3 install Cython
\n\n但同样的问题仍然存在。我很茫然。:-(
\n\n命令:\xc2\xa0buildozer android 调试
\n\nRAN: /bin/bash -c \'venv/bin/pip install Cython\'\nSTDOUT:\nWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.\n
Run Code Online (Sandbox Code Playgroud)\n\n我怎样才能解决这个问题?
\n\nCould not fetch URL\xc2\xa0https://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\nERROR: Could not find a version that satisfies the requirement Cython (from versions: none)\nERROR: No matching distribution found for Cython\nWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.\n
Run Code Online (Sandbox Code Playgroud)\n
这是最近出现的错误,您需要使用以下命令安装 libssl-devapt install libssl-dev
rm -rf .buildozer
然后,您可能还想通过在包含 buildozer.spec 文件的目录中运行来清理 buildozer 目录。
应该这样做!
归档时间: |
|
查看次数: |
2105 次 |
最近记录: |