jupyter notebook安装

一、jupyter notebook基础

1.1jupyter notebook安装

在conda环境下安装:conda install jupyter notebook。

1.2启动jupyter notebook

在命令控制台中直接输入jupyter notebook。

1.3关闭jupyter notebook

在终端(conmand命令栏中)输入两次Ctrl+C,关闭整个服务器。

二、jupyter notebook插件的安装1

2.1下载nbextensions

1.如果已经安装但未成功先执行卸载命令:
pip uninstall jupyter_contrib_nbextensions
pip uninstall jupyter_nbextensions_congfigurator
2.在cmdanaconda prompt命令栏中输入pip install jupyter_contrib_nbextensions,用于安装nbextensions

2.2安装javascript and css files

jupyter contrib nbextension install --user

2.3安装configurator

pip install jupyter_nbextensions_configurator
重新启动jupyter notebook后可以看到已经有nbextensions的标签了

三、常用的扩展功能

collapsible headings:折叠标题
notify:通知机制,跑一些耗时较久的任务,完成后通知
codefolding:折叠代码
zen mode:隐藏活动栏,方便注意代码
execute time:显示运行时间


  1. 安装过程参考 ↩︎

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值