我尝试安装jupyter_contrib_nbextensions:http://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html
一切都很好但是当我打开笔记本时没有任何变化.我看不到我应该看到的新工具栏.
当我重新安装扩展时,过程是相同的(我没有消息告诉我文件已经存在).我没有错误.所以我无法弄清楚它为什么不起作用.
非常感谢.
小智 27
Follow 3 steps: In Terminal
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable varInspector/main
Run Code Online (Sandbox Code Playgroud)
after this you will see "Vaildating: ok" Now you can open jupyter notebook you will see the require changes
use*_*323 21
2021 年 1 月更新
我使用 pip 包中的最新版本看到了这个问题。
原来它与以下内容有关:https : //discourse.jupyter.org/t/the-static-notebook-js-mathjaxutils-js-is-missing/7303
基本上,jupyter-notebook 在最近的更新中移动了一个 .js 文件,导致扩展选项卡不再出现。
恢复到旧版本可以解决这个问题:
pip install notebook==6.1.5
Run Code Online (Sandbox Code Playgroud)
另请注意,6.x 版本并未正式支持大量扩展。因此,在“正式”支持所需的扩展之前,最好恢复到 5.x:
pip install notebook==5.7.10
Run Code Online (Sandbox Code Playgroud)
小智 7
尝试运行这个
jupyter contrib nbextension install --user
Run Code Online (Sandbox Code Playgroud)
然后重新启动 Jupyter 笔记本。这可能会解决问题,就像它为我所做的那样。
试试这个->
1) 打开 Anaconda 提示。
2)输入 -
conda install -c conda-forge jupyter_contrib_nbextensions
Run Code Online (Sandbox Code Playgroud)
(如果 c 是默认目录)
3) 继续安装。
4)退出Anacodna提示。
5) 重新启动 Jupyter 笔记本。(您现在将看到 nbextensions 选项卡)
以下是安装 jupyter nb_extensions 的命令
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
Run Code Online (Sandbox Code Playgroud)
第二个命令可能会给你以下错误:
jupyter contrib not found
Run Code Online (Sandbox Code Playgroud)
上面的命令可以解析如下:
- open cmd to install manually
cd .\Python\<your-python-version>\Lib\site-packages\jupyter_contrib_nbextensions
python application.py install
- Restart the jupyter notebook server
Run Code Online (Sandbox Code Playgroud)
注:另外,还要确保你的包jupyter,notebook和你jupyter_contrib_nbextensions都安装了同一版本的Python(以及同样--user,如果你已经安装了所有的包--user标志)
| 归档时间: |
|
| 查看次数: |
6188 次 |
| 最近记录: |