AttributeError: module 'ssl' has no attribute 'SSLSocke

  • 问题;
  • 原因
  • 解决办法:
  • 结:

问题;

  • 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不再报错。

AttributeError: module ‘ssl‘ has no attribute ‘SSLSocket‘或者OpenSSL SSL_read: Connection was rese相关推荐

  1. Python 报错解决:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

    早上升级完pip,后报错如下: -> # pip install --upgrade pwntools /usr/local/lib/python2.7/dist-packages/pip/_v ...

  2. 解决: AttributeError: module 'cv2' has no attribute 'SURF'

    AttributeError: module 'cv2' has no attribute 'SURF' 遇到该问题时,网友多是建议补个包,即pip install opencv-contrib-py ...

  3. AttributeError: module ‘seaborn‘ has no attribute ‘tsplot‘

    AttributeError: module 'seaborn' has no attribute 'tsplot' 问题: g = sns.tsplot(df['pm2.5']) plt.figur ...

  4. AttributeError: module ‘tensorflow‘ has no attribute ‘Session‘错误解决

    AttributeError: module 'tensorflow' has no attribute 'Session'错误解决 根据网上教程安装tensorflow环境时,最后都会有个测试代码用 ...

  5. AttributeError: module ‘sys‘ has no attribute ‘maxint‘

    AttributeError: module 'sys' has no attribute 'maxint' https://stackoverflow.com/questions/47027354/ ...

  6. AttributeError: module 'tensorflow' has no attribute 'random_normal'

    执行<TensorFlow实战Google深度学习框架(第2版)>only源代码 CH3 时如下语句报错 batch_size = 8 w1= tf.Variable(tf.random_ ...

  7. Python3 AttributeError: module 'cv2' has no attribute 'SIFT'

    参考 https://blog.csdn.net/yuxuan_08/article/details/87966840 在用python3使用sift = cv2.SIFT()进行SIFT时候,可能会 ...

  8. Python3异常-AttributeError: module ‘sys‘ has no attribute ‘setdefaultencoding‘

    Python3异常-AttributeError: module 'sys' has no attribute 'setdefaultencoding' 参考文章: (1)Python3异常-Attr ...

  9. 问题解决——AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘

    问题解决--AttributeError: module 'tensorflow' has no attribute 'placeholder' 参考文章: (1)问题解决--AttributeErr ...

最新文章

  1. MobileNet教程(2):用TensorFlow搭建安卓手机上的图像分类App
  2. css案例学习之继承关系
  3. Ubuntu 防火墙常用配置操作(ufw)【适用于 Debian 及其衍生版---Linux Mint、Deepin 等】
  4. [BUUCTF-pwn]——mrctf2020_easyoverflow
  5. Android之Inflate()方法用途+setContentView和inflate区别
  6. D3D中的粒子系统(1)
  7. 《Effective C#》Item 21:用委托实现回调
  8. java ranger rest_使用REST
  9. CentOS 7上安装 MongoDB数据库 4.0.0最新版
  10. fork-join详解(2)
  11. python函数的参数-可变参数,关键字参数
  12. HighNewTech:基于人工智能的自动驾驶技术的前世今生之Why、What、How最强分析与总结(包括自动驾驶L5个分级详细标准,非常建议收藏)
  13. notepad++中文版下载
  14. 华为3x linux 驱动下载,华为荣耀3X(G750-T00)usb驱动下载安装教程
  15. 对接金蝶云星空审批流
  16. C# MVC获取微信openId
  17. 服务器打不开网页dns错误是怎么回事,dns配置错误网页打不开
  18. 程序员应该知道的经济学常识
  19. 诱惑视频木马样本态势
  20. 头歌JAVA数据结构答案

热门文章

  1. 服务器性能测试工具及实战,软件测试与项目分析-性能测试实战.pptx
  2. 德国列车误点了,大数据分析来救援
  3. [PAClient Error] Error: E2312 Unable to execute 错误解决一例
  4. 检测苹果推送证书有效性
  5. C# System.Timers.Timer 无法停止
  6. 倚天屠龙记决战光明顶java,新倚天屠龙记张无忌决战光明顶 一人从头打到尾动作满分...
  7. Linux tricks
  8. 【动图】高数常见特殊曲线
  9. 阿里云【名师课堂】Java高级开发18 ~ 21:Annotation
  10. 安装VS2015,总是报错JavaScript_ProjectSystem.msi包丢失