执行
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
报错信息
Could not find a version that satisfies the requirement nbextension (from versions: )
No matching distribution found for nbextension
You are using pip version 10.0.1, however version 22.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
No matching distribution found for nbextension
You are using pip version 10.0.1, however version 22.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
输入
python -m pip install --upgrade pip
报错信息
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
jupyter-console 5.2.0 has requirement prompt-toolkit<2.0.0,>=1.0.0, but you'll have prompt-toolkit 3.0.19 which is incompatible.
jupyter-console 5.2.0 has requirement prompt-toolkit<2.0.0,>=1.0.0, but you'll have prompt-toolkit 3.0.19 which is incompatible.
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\pip\\_internal\\basecommand.py'
Consider using the `--user` option or check the permissions.
Consider using the `--user` option or check the permissions.
-----------------------解决-------------------------------------------------------------------------------------
1.
在 install 后面加上--user,如下面语句
python -m pip install --user --upgrade pip
2.运行
pip3 install --upgrade prompt-toolkit==2.0.4
3.先卸载扩展包
pip uninstall jupyter_contrib_nbextensions
pip uninstall jupyter_nbextensions_configurator
安装nbextensions
pip install jupyter_contrib_nbextensions
安装 javascript and css files
jupyter contrib nbextension install --user
4安装configurator
(15条消息) jupyter-contrib-nbextensions的安装问题_xcj~的博客-CSDN博客_nbextensions安装出现错误
---------------------------------------------
太小白完全不懂什么意思,感谢大家的分享让问题能够解决。