执行

  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 ‘pythonm pip install —upgrade pipcommand.
pythonm pip install —upgrade pip
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
jupyter-console 5.2.0 has requirement prompttoolkit<2.0.0,&gt;=1.0.0, but you’ll have prompttoolkit 3.0.19 which is incompatible.
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘c:\programdata\anaconda3\lib\sitepackages\pip\_internal\basecommand.py
Consider using the `–user` option or check the permissions.
———————–解决————————————————————————————-
1.
在 install 后面加上–user,如下语句

python -m pip install —user —upgrade pip

(15条消息) 【Python】Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。_哟米 2000的博客-CSDN博客

2.运行

pip3 install —upgrade prompttoolkit==2.0.4

安装运行jupyter notebook时报错:ModuleNotFoundError: No module named ‘prompt_toolkit.formatted_text’ – 青春叛逆者 – 博客园 (cnblogs.com)

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安装出现错误

———————————————

小白完全不懂什么意思,感谢大家分享问题能够解决

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注