jupyter安裝插件Nbextensions,實現代碼提示功能(終極方法)


jupyter安裝插件,實現代碼提示功能

第一步

pip install jupyter_contrib_nbextensions -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/
jupyter contrib nbextension install  --user

第二步

pip install jupyter_nbextensions_configurator -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/
jupyter nbextensions_configurator enable --user

第三步

安裝成功會在http://localhost:8888/tree中出現Nbextensions

第四步

重啟notebook,勾選如下,成功配置

在這里插入圖片描述


【注意】若jupyter nbextensions不顯示拓展

在這里插入圖片描述

解決方法

鍵入命令:

這個時間比較長,可能需要8分鍾左右

conda remove jupyter_nbextensions_configurator
conda install -c conda-forge jupyter_nbextensions_configurator
conda install -c conda-forge jupyter_contrib_nbextensions

如果你覺得這篇文章還不錯,請動動小指頭點贊、收藏和關注哦!

若本文帶給你很大幫助,也可以打賞博主一杯可樂ღゝ◡╹)ノ♡

摘繁華版權所有,轉發或引用請附上原文鏈接哦!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM