jupyter启动报错module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解决

发布时间:2022-10-14 16:15:53 作者:iii
来源:亿速云 阅读:2064

这篇文章主要介绍“jupyter启动报错module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解决”,在日常操作中,相信很多人在jupyter启动报错module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解决问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”jupyter启动报错module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解决”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

jupyter notebook

windows11启动报错======

Traceback (most recent call last):

 File "D:\Anaconda3-5.3.1-Windows-x86_64\Scripts\jupyter-notebook-script.py", line 6, in <module>

   from notebook.notebookapp import main

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\notebook\notebookapp.py", line 82, in <module>

   from .services.contents.manager import ContentsManager

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\notebook\services\contents\manager.py", line 17, in <module>

   from nbformat import sign, validate as validate_nb, ValidationError

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\nbformat\__init__.py", line 33, in <module>

   from .validator import validate, ValidationError

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\nbformat\validator.py", line 12, in <module>

   from jsonschema import ValidationError

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\jsonschema\__init__.py", line 18, in <module>

   from jsonschema.validators import (

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\jsonschema\validators.py", line 8, in <module>

   import requests

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\requests\__init__.py", line 95, in <module>

   from urllib3.contrib import pyopenssl

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\urllib3\contrib\pyopenssl.py", line 46, in <module>

   import OpenSSL.SSL

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\OpenSSL\__init__.py", line 8, in <module>

   from OpenSSL import crypto, SSL

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\OpenSSL\crypto.py", line 1550, in <module>

   class X509StoreFlags(object):

 File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\OpenSSL\crypto.py", line 1570, in X509StoreFlags

   CB_ISSUER_CHECK = _lib.X509_-_FLAG_CB_ISSUER_CHECK

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

解决办法:======

pip uninstall pyOpenSSL

pip install pyOpenSSL

问题解决。

到此,关于“jupyter启动报错module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解决”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

推荐阅读:
  1. Python中如何解决No module named 'requests'问题
  2. module 'markdown' has no attribute 'version'

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

jupyter

上一篇:python操作excel的代码怎么写

下一篇:如何用Python​实现按姓名拆分Excel为单独文件并自动发给相应联系人

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》