jupyter notebook 安裝代碼提示功能

效果

安裝成功後,輸入部分代碼,按 tab 鍵,會提示代碼

安裝步驟

1.安裝nbextensions

從國內的pip鏡像下載快

pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

2.安裝nbextensions_configurator

pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com  jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

3.啓動jupyter notebook

jupyter notebook

4.開啓代碼補全功能

去掉disable的選擇,勾選 HINTERLAND

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章