执行

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

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

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

原文地址:https://blog.csdn.net/m0_51176333/article/details/126068757

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_34792.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

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