jupyter崩溃进不去,报错module ‘mistune‘ has no attribute ‘BlockGrammar‘

是python包引起的问题

E 2023-10-14 08:40:25.414 ServerApp\] Uncaught exception GET /api/nbconvert?1697244025327 (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:8090', method='GET', uri='/api/nbconvert?1697244025327', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/tornado/web.py", line 1713, in _execute result = await result File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/jupyter_server/services/nbconvert/handlers.py", line 34, in get from nbconvert.exporters import base File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/nbconvert/**init** .py", line 3, in from . import filters, postprocessors, preprocessors, writers File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/nbconvert/filters/**init** .py", line 8, in from .markdown import \* File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/nbconvert/filters/markdown.py", line 13, in from .markdown_mistune import markdown2html_mistune File "/home/yyang/anaconda3/envs/torch10_py381/lib/python3.8/site-packages/nbconvert/filters/markdown_mistune.py", line 37, in class MathBlockGrammar(mistune.BlockGrammar): AttributeError: module 'mistune' has no attribute 'BlockGrammar' \[W 2023-10-14 08:40:25.416 ServerApp\] wrote error: 'Unhandled error' uninstall所有jupyter的包,重新install版本 这是2023年10月14日可以完美安装的包 IPython : 7.34.0 ipykernel : 6.20.0 ipywidgets : 8.1.1 jupyter_client : 8.1.0 jupyter_core : 5.4.0 jupyter_server : 2.7.3 jupyterlab : 4.0.7 nbclient : 0.6.0 nbconvert : 6.5.4 nbformat : 5.7.0 notebook : 6.5.4

相关推荐
Michelle80237 分钟前
24大数据 16-1 函数复习
python
dagouaofei14 分钟前
AI自动生成PPT工具对比分析,效率差距明显
人工智能·python·powerpoint
ku_code_ku17 分钟前
python bert_score使用本地模型的方法
开发语言·python·bert
祁思妙想37 分钟前
linux常用命令
开发语言·python
流水落花春去也1 小时前
用yolov8 训练,最后形成训练好的文件。 并且能在后续项目使用
python
Serendipity_Carl1 小时前
数据可视化实战之链家
python·数据可视化·数据清洗
小裴(碎碎念版)1 小时前
文件读写常用操作
开发语言·爬虫·python
TextIn智能文档云平台1 小时前
图片转文字后怎么输入大模型处理
前端·人工智能·python
ujainu1 小时前
Python学习第一天:保留字和标识符
python·学习·标识符·保留字
studytosky2 小时前
深度学习理论与实战:反向传播、参数初始化与优化算法全解析
人工智能·python·深度学习·算法·分类·matplotlib