Jupyter notebook编写代码智能提示设置
·
不管是通过anaconda安装的jupyter notebook,还是通过命令行pip intall jupyter安装的jupyter notebook在编写代码的时候,都没有智能提示的。因为没有安装jupyter_contrib_nbextensions。如下图:

安装 jupyter_contrib_nbextensions的方法如下:
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable
安装完成后,重新打开jupyter notebook,则出现nbextensions菜单,如下:

选择Nbextendsions,界面如下:
将disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)这个复选框不选中。

然后将勾选Hinteriand

再回到代码行,在写代码的时候,就会有智能提示了。

更多推荐
所有评论(0)