jupyter添加anaconda的python环境
datehoer 12/20/2022 python
首先安装环境
conda create -n foo python=3.8
1
之后在虚拟环境中安装ipykernel
conda install -n foo ipykernel
1
然后安装到jupyter中
python -m ipykernel install --user --name foo --display-name "conda_foo"
Installed kernelspec foo in C:\Users\Administrator\AppData\Roaming\jupyter\kernels\foo
1
2
2
之后启动jupyter就可以了