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

本文主要是介绍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

这篇关于jupyter崩溃进不去,报错module ‘mistune‘ has no attribute ‘BlockGrammar‘的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/235670

相关文章

电脑找不到mfc90u.dll文件怎么办? 系统报错mfc90u.dll丢失修复的5种方案

《电脑找不到mfc90u.dll文件怎么办?系统报错mfc90u.dll丢失修复的5种方案》在我们日常使用电脑的过程中,可能会遇到一些软件或系统错误,其中之一就是mfc90u.dll丢失,那么,mf... 在大部分情况下出现我们运行或安装软件,游戏出现提示丢失某些DLL文件或OCX文件的原因可能是原始安装包

电脑显示mfc100u.dll丢失怎么办?系统报错mfc90u.dll丢失5种修复方案

《电脑显示mfc100u.dll丢失怎么办?系统报错mfc90u.dll丢失5种修复方案》最近有不少兄弟反映,电脑突然弹出“mfc100u.dll已加载,但找不到入口点”的错误提示,导致一些程序无法正... 在计算机使用过程中,我们经常会遇到一些错误提示,其中最常见的就是“找不到指定的模块”或“缺少某个DL

解决IDEA报错:编码GBK的不可映射字符问题

《解决IDEA报错:编码GBK的不可映射字符问题》:本文主要介绍解决IDEA报错:编码GBK的不可映射字符问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录IDEA报错:编码GBK的不可映射字符终端软件问题描述原因分析解决方案方法1:将命令改为方法2:右下jav

MyBatis模糊查询报错:ParserException: not supported.pos 问题解决

《MyBatis模糊查询报错:ParserException:notsupported.pos问题解决》本文主要介绍了MyBatis模糊查询报错:ParserException:notsuppo... 目录问题描述问题根源错误SQL解析逻辑深层原因分析三种解决方案方案一:使用CONCAT函数(推荐)方案二:

Spring Boot中JSON数值溢出问题从报错到优雅解决办法

《SpringBoot中JSON数值溢出问题从报错到优雅解决办法》:本文主要介绍SpringBoot中JSON数值溢出问题从报错到优雅的解决办法,通过修改字段类型为Long、添加全局异常处理和... 目录一、问题背景:为什么我的接口突然报错了?二、为什么会发生这个错误?1. Java 数据类型的“容量”限制

SpringBoot项目中报错The field screenShot exceeds its maximum permitted size of 1048576 bytes.的问题及解决

《SpringBoot项目中报错ThefieldscreenShotexceedsitsmaximumpermittedsizeof1048576bytes.的问题及解决》这篇文章... 目录项目场景问题描述原因分析解决方案总结项目场景javascript提示:项目相关背景:项目场景:基于Spring

如何解决idea的Module:‘:app‘platform‘android-32‘not found.问题

《如何解决idea的Module:‘:app‘platform‘android-32‘notfound.问题》:本文主要介绍如何解决idea的Module:‘:app‘platform‘andr... 目录idea的Module:‘:app‘pwww.chinasem.cnlatform‘android-32

解决SpringBoot启动报错:Failed to load property source from location 'classpath:/application.yml'

《解决SpringBoot启动报错:Failedtoloadpropertysourcefromlocationclasspath:/application.yml问题》这篇文章主要介绍... 目录在启动SpringBoot项目时报如下错误原因可能是1.yml中语法错误2.yml文件格式是GBK总结在启动S

jupyter代码块没有运行图标的解决方案

《jupyter代码块没有运行图标的解决方案》:本文主要介绍jupyter代码块没有运行图标的解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录jupyter代码块没有运行图标的解决1.找到Jupyter notebook的系统配置文件2.这时候一般会搜索到

idea maven编译报错Java heap space的解决方法

《ideamaven编译报错Javaheapspace的解决方法》这篇文章主要为大家详细介绍了ideamaven编译报错Javaheapspace的相关解决方法,文中的示例代码讲解详细,感兴趣的... 目录1.增加 Maven 编译的堆内存2. 增加 IntelliJ IDEA 的堆内存3. 优化 Mave