jupyter自动代码补全

1.1首先安装 nbextensions

pip install jupyter_contrib_nbextensions

1.2 接着对其进行设置

jupyter contrib nbextension install --user

2. 然后安装 nbextensions_configurator,同样对其进行设置

pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

3. 如果执行1.1遇到报错:Error executing Jupyter command 'contrib': [Errno 'jupyter-contrib' not found] 2

在C盘搜索jupyter-contrib-nbextension.exe,将cmd路径切换到该文件所在的路径,再执行1.1的代码就可以了。

发布了38 篇原创文章 · 获赞 98 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/xijuezhu8128/article/details/97295050
今日推荐