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

相关推荐
好开心啊没烦恼1 小时前
Python 数据分析:计算,分组统计1,df.groupby()。听故事学知识点怎么这么容易?
开发语言·python·数据挖掘·数据分析·pandas
lljss20202 小时前
Python11中创建虚拟环境、安装 TensorFlow
开发语言·python·tensorflow
空中湖2 小时前
tensorflow武林志第二卷第九章:玄功九转
人工智能·python·tensorflow
CodeCraft Studio3 小时前
CAD文件处理控件Aspose.CAD教程:使用 Python 将绘图转换为 Photoshop
python·photoshop·cad·aspose·aspose.cad
Python×CATIA工业智造5 小时前
Frida RPC高级应用:动态模拟执行Android so文件实战指南
开发语言·python·pycharm
onceco6 小时前
领域LLM九讲——第5讲 为什么选择OpenManus而不是QwenAgent(附LLM免费api邀请码)
人工智能·python·深度学习·语言模型·自然语言处理·自动化
狐凄6 小时前
Python实例题:基于 Python 的简单聊天机器人
开发语言·python
悦悦子a啊7 小时前
Python之--基本知识
开发语言·前端·python
hero_heart8 小时前
vscode中c_cpp_properities.cpp文件生成和作用
ide·vscode·编辑器
笑稀了的野生俊9 小时前
在服务器中下载 HuggingFace 模型:终极指南
linux·服务器·python·bash·gpu算力