ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
1.升级pip到24.0
python -m pip install --upgrade pip
2.安装pep517
pip install pep517
3.安装cryptography
pip install cryptography -i https://pypi.douban.com/simple
4.安装mitmproxy
pip install mitmproxy
这篇博客主要介绍了在安装Python库cryptography时遇到的错误,包括wheel构建失败和无法直接安装的问题。作者提供了详细的解决方案,包括升级pip到24.0、安装pep517以及从特定源安装cryptography和mitmproxy的步骤,帮助读者解决这类常见问题。
1万+

被折叠的 条评论
为什么被折叠?



