默认Jupyter Notebook没有安装代码提示功能,极度影响编程效率,但是我们可以可通过如下命令安装和配置使得Jupyter Notebook具备代码提供功能。
1、开始菜单运行Anaconda Prompt (Anaconda3),逐条输入命令
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable
2、执行成功后会在http://localhost:8888/tree中出现Nbextensions
3、点击并勾选Hinteriand,即可开启代码提示功能
4、新建一个py文件,输入代码试试吧。
网友评论