问题;
- SSL模块存在,包存在,也能够引入,但是python安装包时一直在报SSL错。
- 在运行相关代码时,也显示SSL不存在相关语法操作。
- AttributeError: module ‘ssl’ has no attribute ‘SSLSocket’:
- 在python安装包时报错:
原因
- 检查一遍python环境有没有存在问题,同事i的电脑可以实现,环境拷贝过来,自己的电脑依旧不行,PYTHON环境排除;
- GIT安装包中验证的问题
解决办法:
- 1、桌面右键:
- 2、输入命令:
git config --global http.sslVerify "false"
结:
重新再进行相关操作,SSL不再报错。