一、windows系统中
1. 安装依赖项
开始->Anaconda Prompt
安装nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
安装 nbextensions_configurator
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
2. 设置
启动jupyter notebook
点击“Nbextensions”->取消“disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)”->选择“Hinterland”
二、在WSL中
1. 安装依赖项
安装 nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
安装 nbextensions_configurator
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
2. 设置
启动jupyter notebook
在WSL中输入"jupyter notebook --ip=127.0.0.1 --port=8000"
复制下面两个地址中的一个到浏览器中打开
点击“Nbextensions”->取消“disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)”->选择“Hinterland”