小编Sum*_*rus的帖子

安装 Jupyter 扩展,无法启用“nbextension”

我发布这个问题是因为我无法通过对 SO 等的多次筛选/故障排除来解决这个问题。

我把所有的包下方安装成功,一pip listconda list显示:

在此处输入图片说明

我用来安装软件包的代码:

!pip install jupyter_contrib_nbextensions
!pip install https://github.com/ipythoncontrib/jupyter_contrib_nbextensions/tarball/master
jupyter contrib nbextension install --user
Run Code Online (Sandbox Code Playgroud)

我也试过最后一行

jupyter contrib nbextensions install --sys-prefix --skip-running-check

我最终得到错误:

File "<ipython-input-5-1c0e089b301b>", line 1
    jupyter contrib nbextension install --user
                  ^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud)

在以管理员模式在终端上运行时,我得到:

C:\WINDOWS\system32>python -m pip install jupyter_contib_nbextensions
Collecting jupyter_contib_nbextensions
ERROR: Could not find a version that satisfies the requirement jupyter_contib_nbextensions (from versions: none)
ERROR: No matching distribution found for jupyter_contib_nbextensions

Run Code Online (Sandbox Code Playgroud)

我在这里缺少什么?我也尝试升级jupyter, ipython;提前致谢。

python-3.x jupyter-notebook

3
推荐指数
1
解决办法
4794
查看次数

标签 统计

jupyter-notebook ×1

python-3.x ×1