1)打开anaconda的prompt 看下自己的环境 conda env list 2)选中想切换的环境 conda activate 3)下载 ipykernel 4)加入jupyter环境中 python -m ipykernel install --name