From f9b5b5034f13dfd2ad4c08f0b1e4c93e44cecfc0 Mon Sep 17 00:00:00 2001 From: chzhang Date: Sun, 12 Mar 2023 14:44:57 +0800 Subject: nb extension --- fun_tools/jupyter_extentisons.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 fun_tools/jupyter_extentisons.md (limited to 'fun_tools/jupyter_extentisons.md') diff --git a/fun_tools/jupyter_extentisons.md b/fun_tools/jupyter_extentisons.md new file mode 100644 index 0000000..1351cec --- /dev/null +++ b/fun_tools/jupyter_extentisons.md @@ -0,0 +1,31 @@ + + +- 创建虚拟环境用于测试 + ``` + conda create -n jpt python=3.8 -y + conda activate jpt + ``` + +- 安装 jupyter + ``` + pip install jupyter + ``` + - 注意 notebook(会在安装 jupyter 时自动安装 notebook) 的版本 + ```bash + pip install notebook==6.1.5 + ``` + +- 安装拓展 + ``` +pip install jupyter_contrib_nbextensions +pip install jupyter_nbextensions_configurator +jupyter contrib nbextension install --user + ``` + + +- 几个常用的拓展 + - ExcecuteTime + - Table of Contents + - Variable Inspector + - Autopep8 + \ No newline at end of file -- cgit v1.2.3