jupyter notebook related configuration

1. Install the plugin nbextensions

pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install

The following 4 commonly used plugins:

1) Table of Contents: Easier to navigate

2) Autopep8: One click to get concise code and make the code conform to the format

3)variable inspector

4)ExecuteTime

2. Add a new environment to the kernel

conda activate mark  # 激活环境
conda install ipykernel
python -m ipykernel install --user --name mark
conda deactivate  # 退出到base环境,打开jupyter notebook

# 查看内核
jupyter kernelspec list

# 删除内核
jupyter kernelspec remove java

Guess you like

Origin blog.csdn.net/Jad_Goh/article/details/122226320