在jupyter notebook中使用conda环境
1. 环境配置
conda activate my-conda-env # this is the environment for your project and code
conda install ipykernel
conda deactivate
conda activate base # could be also some other environment
conda install nb_conda_kernels
jupyter notebook
2. 环境选择
安装好后,打开 jupyter notebook 就会显示所有的 conda 环境,点击随意切换。