Jupyter-Notebook-bezogene Konfiguration

1. Installieren Sie das Plugin nbextensions

pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install

Die folgenden 4 häufig verwendeten Plugins:

1) Inhaltsverzeichnis: Einfachere Navigation

2) Autopep8: Ein Klick, um prägnanten Code zu erhalten und ihn an das Format anzupassen

3)Variableninspektor

4)ExecuteTime

2. Fügen Sie dem Kernel eine neue Umgebung hinzu

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

Supongo que te gusta

Origin blog.csdn.net/Jad_Goh/article/details/122226320
Recomendado
Clasificación