使用 pip 安装 cryptography 出现错误
ERROR: Could not find a version that satisfies the requirement cryptography==36.0.1 (from versions: none)
ERROR: No matching distribution found for cryptography==36.0.1
使用pip安装其他模块时也可能出现上述错误,主要原因是网络的问题,需要使用国内的镜像源来加速,比如豆瓣源
因此命令可以使用:
pip install cryptography -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
或者
pip3 install cryptography -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
即可成功安装