jupyter notebook代码自动补全

一、windows系统中

1. 安装依赖项

开始->Anaconda Prompt
jupyter notebook代码自动补全_第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

点击“Nbextensions”->取消“disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)”->选择“Hinterland”
jupyter notebook代码自动补全_第2张图片

二、在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"
jupyter notebook代码自动补全_第3张图片复制下面两个地址中的一个到浏览器中打开

点击“Nbextensions”->取消“disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)”->选择“Hinterland”
jupyter notebook代码自动补全_第4张图片

你可能感兴趣的:(工具使用)