

pip install nbextensions插件报错:ReadTimeoutError解决方法
source link: http://huanyouchen.github.io/2019/11/14/pip-install-ReadTimeoutError/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The quieter you become,the more you are able to hear.
pip install nbextensions插件报错:ReadTimeoutError解决方法
今天再给Jupyter Notebook安装jupyter-contrib-nbextensions这个插件时,使用pip install报错,一大片姨妈红,报错信息如下:
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
把原来pip install xxx
修改为pip --default-timeout=100 install xxx
#报错的安装命令:
sudo python3.5 -m pip install jupyter-contrib-nbextensions
# 顺利安装成功的命令:
sudo python3.5 -m pip --default-timeout=100 install jupyter-contrib-nbextensions
安装后提示:
launchpadlib 1.10.6 requires testresources, which is not installed.
继续pip install launchpadlib即可。
然后,执行下面命令用于安装javascript和css文件
jupyter contrib nbextension install --user
最后,再次Jupyter notebook打开即可看到nbextensions插件。
———-后续
在Nbextensions界面中,我选择了autopep8这个选项,第二天打开jupyter notebook时,又提示需要安装autopep8,于是再次pip安装。
sudo python3.5 -m pip install autopep8
顺利完成~
Recommend
-
26
...
-
14
idea启动springboot项目报错 Command line is too long 解决方法 Wiken 2021-05-18 错误:Error ru...
-
13
postman的报错:This request does not have any tests解决方法发布于 54 分钟前步骤1.查看是否保存了请求。步骤2.查看变量是否存在。步骤3.查看是否设...
-
13
Zblog报错“PHP file_get_contents函数获取https内容”解决方法
-
15
记录解决Nginx出现报错403 forbidden的四种方法 2022-02-17...
-
4
npm install报错not found: python2的结局方法这个问题,困扰过几乎所有的前端开发人员,我自己每次换电脑也对这个很头疼。干脆重新整理记录一下。安装指定版本的python...
-
9
报错 Allowed memory size of 134217728 bytes exhausted 解决方法 日期:2022年04月11日 · 分类:技术积累...
-
4
服务器上的 Docker 是 1.13 版本的有点老了,于是打算升级一下; 结果发现加入了 Docker 源之后使用 yum 安装报错了…,这里总结一下; centos7中使用yum安装docker报错解决方法
-
6
执行Shell脚本报错:/bin/bash^M: bad interpreter 解决方法执行Shell脚本报错:/bin/bash^M: bad interpreter 解决方法 执行Shell脚本提示: /bin/bash^M: bad interpreter: No such file or directory ...
-
6
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK