第一步: 新建并激活 conda 环境
python -m venv test
cd test
Scripts\activate.bat
第二步:安装 ipykernel
pip install ipykernel
第三步: 将 环境添加到 jupyter notebook 中
python -m ipykernel install --user --name=test
第四步: 如需删除 kernel
jupyter kernelspec uninstall myenv
完成。