Jupyter - 增加代码自动提示

启用代码自动提示

1.安装Jupyter Notebook:如果你还没有安装Jupyter Notebook,首先需要安装它。你可以使用pip来安装,并且确认安装的版本无误解。

 
pip install jupyter notebook==6.4.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

2.安装并激活Jupyter的代码自动提示插件:为了启用代码自动提示,你需要安装适当的插件。一个常用的插件是jupyter_contrib_nbextensions,它包含了很多有用的扩展功能,包括代码自动提示。你可以使用以下命令来安装:

 
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter contrib nbextension install --user 

3.安装并激活指定版本的jupyter的服务器扩展

 
pip install jupyter_nbextensions_configurator==0.5.0 https://pypi.tuna.tsinghua.edu.cn/simple
jupyter nbextensions_configurator enable --user

4.打开jupyter notebook

 
jupyter notebook

5.启动Hinterland

6.验证自动补全成功

 
 原文链接:https://www.cnblogs.com/zhaomian/p/17724037.html

posted on 2024-07-14 22:07  frank_cui  阅读(115)  评论(0编辑  收藏  举报

导航

levels of contents