jupyter-notebook - 所有 jupyter contrib nbextensions 都被标记为可能不兼容

标签 jupyter-notebook incompatibility jupyter-contrib-nbextensions

我刚刚安装了 jupyter_contrib_nbextensions:

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

当我打开 jupyter 笔记本并导航到编辑 -> nbextensions config 时,我会看到以下屏幕:

nbextensions config

所有扩展程序都被标记为“可能不兼容”。解决方案是取消选中该选项:“在没有显式兼容性的情况下禁用 nbextensions 配置”。但这安全吗?有什么想法为什么 nbextensions 不兼容吗?

我的软件包版本是:

jupyter==1.0.0
notebook==6.0.1
jupyter-contrib-nbextensions==0.5.1

最佳答案

您会注意到,在 jupyter_contrib_nbextensions版本 0.5.1 中,大多数 nbextensions 与版本 4.X 和 5.X 兼容。例如看看这个扩展:

nbextension details example

如果您取消选中“在没有显式兼容性的情况下禁用 nbextensions 配置”选项,那么您在使用任何扩展时很可能不会遇到问题。我猜开发人员尚未针对最近推出的新 notebook 版本 6.X 测试 jupyter_contrib_extensions。如果您想拥有一个稳定且经过测试的环境,可以回滚到以前的 jupyter Notebook 版本。最新的兼容版本是5.7.8。只需卸载当前的 notebook 并通过执行以下命令安装该特定版本:

pip uninstall notebook
pip install notebook==5.7.8

关于jupyter-notebook - 所有 jupyter contrib nbextensions 都被标记为可能不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58146683/

相关文章:

Python 日志记录在 2.5 和 2.6 之间不兼容

iphone - 声明为 NSString 但 Xcode 视为 NSdata 并收到不兼容的传递

jupyter-notebook - Jupyter nbextensions 没有出现 - 404 GET/static/components/marked/lib/marked.js

swift - 无法在 Swift Colab 中使用 %install

python - 将多列融合为一列

python - %在名称中带有空格的文件上运行

python - 在 Azure Synapse 笔记本中运行 nltk.download ValueError : I/O operation on closed file

c - 错误: incompatible types when initializing type 'struct taus88_t *' using type 'taus88_t' |?