99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
2022-03-22 閱讀量: 783
如何給python jupyter notebook 安裝目錄插件?

安裝了目錄插件,我們讀取python文本時(shí)就可以看到python文本目錄了,這樣方便查看代碼。


在 cmd黑色命令窗口或者anaconda prompt 執(zhí)行如下命令

第一步:更新pip

python -m pip install --upgrade pip



第二步:更新Jupyter

pip install --upgrade jupyter



第三步:安裝 jupyter_contrib_nbextensions

pip install jupyter_contrib_nbextensions



第四步:配置 nbextension

jupyter contrib nbextension install --user

第五步:?jiǎn)?dòng)jupyter notebook

選擇 Nbextensions

勾選 Table of Contents



第六步:選做步驟,安裝Collapsible headings插件

勾選Collapsible headings----將標(biāo)題內(nèi)部的內(nèi)容全部折疊起來

Code folding---代碼折疊插件,允許你將縮進(jìn)內(nèi)容折疊起來,節(jié)省屏幕空間


參考鏈接:https://blog.csdn.net/GD_little_radish/article/details/108084366


###安裝問題備注:

出現(xiàn)連接中斷之類的,做-i+國內(nèi)源地址嘗試

例如:pip install --upgrade jupyter

加國內(nèi)源地址: pip install --upgrade jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple


常用國內(nèi)源地址

#清華大學(xué)源

https://pypi.tuna.tsinghua.edu.cn/simple


#阿里巴巴源

https://pypi.doubanio.com/simple


#中國科學(xué)技術(shù)大學(xué)源

https://pypi.mirrors.ustc.edu.cn/simple/


#豆瓣源

https://pypi.doubanio.com/simple


83.8787
0
關(guān)注作者
收藏
評(píng)論(0)

發(fā)表評(píng)論

暫無數(shù)據(jù)
推薦帖子