【Anaconda】jupyter notebook切换到其他虚拟环境
默认你已经创建好了一个虚拟环境
1.打开Prompt,激活你的虚拟环境
activate 你的虚拟环境名称
2.安装ipykernel
conda install ipykernel
3.将你的虚拟环境加入到ipykernel
python -m ipykernel install --name tensorflow
执行完这个语句之后,会自动在目录【C:\ProgramData\jupyter\kernels】(类似)生成一个【adda】文件夹,里面有kernel.json文件
之后打开jupyter notebook,再kernel里就有你的环境了。