這篇文章主要介紹“jupyter啟動(dòng)報(bào)錯(cuò)module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解決”,在日常操作中,相信很多人在jupyter啟動(dòng)報(bào)錯(cuò)module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解決問題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”jupyter啟動(dòng)報(bào)錯(cuò)module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解決”的疑惑有所幫助!接下來(lái),請(qǐng)跟著小編一起來(lái)學(xué)習(xí)吧!
網(wǎng)站建設(shè)哪家好,找創(chuàng)新互聯(lián)公司!專注于網(wǎng)頁(yè)設(shè)計(jì)、網(wǎng)站建設(shè)、微信開發(fā)、微信小程序開發(fā)、集團(tuán)企業(yè)網(wǎng)站建設(shè)等服務(wù)項(xiàng)目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了泰來(lái)免費(fèi)建站歡迎大家使用!
jupyter notebook
windows11啟動(dòng)報(bào)錯(cuò)======
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
問題解決。
到此,關(guān)于“jupyter啟動(dòng)報(bào)錯(cuò)module 'lib' has no attribute 'X509_-_FLAG_CB_ISSUER_CHECK'如何解決”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)?lái)更多實(shí)用的文章!