jupyter安装插件Nbextensions,实现代码提示功能(终极方法)

it2023-08-24  62

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
最新回复(0)