添加多个虚拟环境
1.如果是anaconda的多个环境,先在base环境安装:
conda install nb_conda_kernels
2.切换到其他环境安装ipykernel
conda install ipykernel
修改默认路径
1.在命令行中输入如下命令找到配置文件jupyter_notebook_config.py的位置:
jupyter notebook --generate-config
2.编辑jupyter_notebook_config.py
记事本打开,查找c.NotebookApp.notebook_dir,并修改为你的目录:
#c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = 'E:\Your_Jupyter_DIR'
自动补全
1.安装nbextensions库:
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
2.在notebook中配置