Jupyter安裝拓展nbextensions及解決官網下載慢的問題
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一欄
但是剛進去時是灰色的,取消勾選紅色圈圈中的勾選項即可
拓展安裝完成,現(xiàn)在就可以添加一些常用的插件了(●'◡'●)
這兒,給大家提供國內鏡像源列表
清華大學: 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下載慢內容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
相關文章
python Selenium等待元素出現(xiàn)的具體方法
在本篇文章里小編給大家分享的是一篇關于python Selenium等待元素出現(xiàn)的具體方法,以后需要的朋友們可以學習參考下。2021-08-08使用OpenCV對車道進行實時檢測的實現(xiàn)示例代碼
這篇文章主要介紹了使用OpenCV對車道進行實時檢測的實現(xiàn)示例代碼,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2020-06-06