安装OpenSSL中出现的问题及解决

1.报错:install-record.txt --single-version-externally-managed --compile" failed with error code 1

https://github.com/FPGAwars/apio/issues/144

pip install -U setuptools
pip install -U wheel

//一开始我的setuptools包是20.版的,一直不对。解决:先把原来的卸载掉,原来的不卸载,就算update也不能更新!

2.ImportError: No module named OpenSSL的一路安装解决

https://www.04007.cn/article/478.html

//上面网址的也指导了不少,成功安装上了Open SSL

3.其实最开始install 包的时候报错:

requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645)

看到回答:https://github.com/kennethreitz/requests/issues/3006

import确实报错,所以才到了2的部分。

//最终安装成功。 

原文地址:https://www.cnblogs.com/BlueBlueSea/p/10647546.html