jupyter notebook安装

    xiaoxiao2022-06-25  236

    jupyter notebook安装说明——在anaconda环境下进行jupyter notebook的安装

    一、jupyter notebook基础1.1jupyter notebook安装1.2启动jupyter notebook1.3关闭jupyter notebook 二、jupyter notebook插件的安装[^1]2.1下载nbextensions2.2安装javascript and css files2.3安装configurator 三、常用的扩展功能

    一、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:显示运行时间


    安装过程参考 ↩︎


    最新回复(0)