anaconda jupyter安装拓展nbextensions

先在终端pip两个包:

pip install jupyter_contrib_nbextensions
pip install jupyter_nbextensions_configurator

安装成功后

jupyter contrib nbextension install –user

pip install jupyter_contrib_nbextensions
pip install jupyter_nbextensions_configurator
jupyter contrib nbextension install --user	

使用豆瓣镜像:

但是直接这样pip下载很慢,简直慢到怀疑人生,下载了半天还下载失败了/(ㄒoㄒ)//(ㄒoㄒ)/
所以我们可以使用豆瓣镜像,即在后面加 -i https://pypi.douban.com/simple
这个堪称神器呀,下载的时候刷刷的o(∩_∩)o

pip install jupyter_contrib_nbextensions -i https://pypi.douban.com/simple
pip install jupyter_nbextensions_configurator -i https://pypi.douban.com/simple

后面操作不变:

jupyter contrib nbextension install –user

pip install jupyter_contrib_nbextensions -i https://pypi.douban.com/simple
pip install jupyter_nbextensions_configurator -i https://pypi.douban.com/simple
jupyter contrib nbextension install --user

最后再打开jupyter

jupyter notebook

操作成功后重启jupyter 如下图所示,增加了nbextensions一栏
但是刚进去时是灰色的,取消勾选红色圈圈中的勾选项即可

拓展安装完成,现在就可以添加一些常用的插件了(●’◡’●)

这儿,给大家提供国内镜像源列表
清华大学: https://pypi.tuna.tsinghua.edu.cn/simple/
(清华的源5分钟同步官网一次,推荐使用)

阿里云: http://mirrors.aliyun.com/pypi/simple/

中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban): http://pypi.douban.com/simple/

中国科学技术大学: http://pypi.mirrors.ustc.edu.cn/simple/

到此这篇关于jupyter安装拓展nbextensions及解决官网下载慢的问题的文章就介绍到这了,更多相关jupyter安装nbextensions下载慢内容请搜索www.887551.com以前的文章或继续浏览下面的相关文章希望大家以后多多支持www.887551.com!