jupyter notebook 配置

文章讲述了在JupyterNotebook环境中添加conda环境、安装Nbextensions插件及其配置过程中遇到的常见问题,包括mistune和nbconvert版本升级、颜色格式错误和DeprecationWarning的处理方法。
摘要由CSDN通过智能技术生成

1环境jupyter添加conda环境 - 知乎 (zhihu.com)

jupyter notebook添加环境/添加内核(超详细)_jupyter notebook添加内核-CSDN博客

2目录最全修改Jupyter notebook默认目录教程_jupyter设置文件路径-CSDN博客

3插件如何在Anaconda中为jupyter安装扩展Nbextensions插件 - 知乎 (zhihu.com)

Jupyter notebook插件nbextensions安装 - rain-fallz - 博客园 (cnblogs.com)

jupyter notebook 优雅使用之——Nbextensions插件安装及配置,代码补全功能优化_jupyter 代码补全-CSDN博客

4全:一文弄懂Jupyter的配置与使用(呕心沥血版)-腾讯云开发者社区-腾讯云 (tencent.com)

给!最详版的Jupyter NBextensions 插件介绍-CSDN博客

5降级Jupyter Notebook最新版本(7.xx.xx)不好安装,降级安装能用的(亲测)-CSDN博客

插件的一些报错整理:

1、nbconvert AttributeError: module 'mistune' has no attribute 'BlockGrammar'

最初我的包是 mistune=0.8.4, nbconvert=5.4.0.思路时先升级nbconvert,如果还是同样错误在升级mistune.

a.尝试多次conda更新nbconvert但无法实现

用pip更新 pip install --upgrade --user nbconvert,这时顺带更新了jupyter的一些依赖包。【这里还要注意用pip安装时要设定默认安装位置!!!】, 这时nbconvert=7.x.x,再报下面的错

2、AssertionError: wrong color format 'var(--jp-mirror-editor-variable-color)' :

我先进行 pip install nbconvert==6.0.0rc0解决Jupyter notebook报错:AssertionError: wrong color format ‘var(--jp-mirror-editor-variable-color)‘_assertionerror: wrong color format 'ansiyellow_Circle-C的博客-CSDN博客

仍报相同错,然后 pip isntall "Pygments==2.6.1 "

AssertionError: wrong color format 'var(--jp-mirror-editor-variable-color)' · Issue #8198 · sphinx-doc/sphinx · GitHub

3、UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.

【Jupyter】UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client._chhandsome的博客-CSDN博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值