Jupyter Notebook 实现代码提示自动补全和代码格式化
安装插件nbextensions
1.安装jupyter_contrib_nbextensions
pip install --user jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple
jupyter contrib nbextension install --user
2.安装nbextensions_configurator
pip install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
如果出错提示“Exception: Jupyter command jupyter-contrib not found.”
- 则使用conda强制安装,
conda install -c conda-forge jupyter_nbextensions_configurator