解决 PIP 安装错误 DECRYPTION_FAILED_OR_BAD_RECORD_MAC

最近pip 安装pack 遇到问题, 

ERROR: Could not install packages due to an EnvironmentError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)

1.解决办法遇到这个问题, 将原来的命令重新执行一次

    pip install -r requirements.txt  -i https://pypi.tuna.tsinghua.edu.cn/simple  此时遇到SSL 错误提示,

再次在 cmd中执行该命令, 此时成功.

你可能感兴趣的:(工具,Python,pip,macos,python)