首页 > 其他 > 详细

Anaconda-Jupyter notebook 如何安装 nbextensions

时间:2019-12-08 19:00:32      阅读:317      评论:0      收藏:0      [点我收藏+]

系统环境:windows

安装过程中,再次遇到了一地鸡毛,经过不断查询方法,发现前辈大牛们好棒棒!

Step1:确定是已经安装好anaconda

Step2:要在anaconda prompt模式下运行(jupyter notebook打开)

Step3:pip install jupyter_contrib_nbextensions(安装成功后,关掉jupyter notebook及相关网页,并重新打开,观察是否安装成功)

Step4:如果发现依旧失败,则可进行此步骤,注意(jupyter notebook关闭)

             进行配置:jupyter contrib nbextension install --user --skip-running-check

Step5:安装完成后,重新启动jupyter notebook,“Nbextensions”出现在导航栏中,勾选目录。

系统环境:macos

因为作妖儿换了新电脑,故来更新相关操作。

Step1:确定是已经安装好anaconda

Step2:要在Mac终端下运行,如何找到终端(启动台-其他-终端)

Step3:先安装nbextensions依次输入运行下面代码:

pip install jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

Step4:再安装nbextensions_configurator,依次输入运行以下代码:

pip install jupyter_nbextensions_configurator

jupyter nbextensions_configurator enable --user

Step5:安装完成后,关终端,启动anaconda中的jupyter notebook,在主页中,可以看见Nbextensions标签页,选中Hinterland 就能使用代码补全了。

Anaconda-Jupyter notebook 如何安装 nbextensions

原文:https://www.cnblogs.com/bind/p/12006557.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!