本篇内容介绍了“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
from notebook.notebookapp import main
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\notebook\notebookapp.py", line 82, in
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
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
from .validator import validate, ValidationError
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\nbformat\validator.py", line 12, in
from jsonschema import ValidationError
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\jsonschema\__init__.py", line 18, in
from jsonschema.validators import (
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\jsonschema\validators.py", line 8, in
import requests
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\requests\__init__.py", line 95, in
from urllib3.contrib import pyopenssl
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\urllib3\contrib\pyopenssl.py", line 46, in
import OpenSSL.SSL
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\OpenSSL\__init__.py", line 8, in
from OpenSSL import crypto, SSL
File "D:\Anaconda3-5.3.1-Windows-x86_64\lib\site-packages\OpenSSL\crypto.py", line 1550, in
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'怎么解决”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注创新互联网站,小编将为大家输出更多高质量的实用文章!