AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

 

问题背景:

  下载工具wydomain,安装依赖包以后,出现下图问题。

  几经查找发现是pyopenssl库的问题。

 python问题:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

 

解决方法:

  rm -rf /usr/lib/python2.7/dist-packages/OpenSSL
  rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info
  sudo pip install pyopenssl

 python问题:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

 

  验证恢复正常

 python问题:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-01
  • 2021-07-20
  • 2021-09-15
  • 2021-06-06
  • 2021-07-27
  • 2022-02-07
  • 2021-06-27
相关资源
相似解决方案