我发布这个问题是因为我无法通过对 SO 等的多次筛选/故障排除来解决这个问题。
我把所有的包下方安装成功,一pip list,conda 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;提前致谢。