在jupyter notebook中添加和删除环境【笔记】

在jupyter notebook中加入虚拟环境:

python -m ipykernel install --name 虚拟环境名

在jupyter notebook中删除虚拟环境:

1.查看jupyter notebook中有哪些虚拟环境:

jupyter kernelspec list

2.将指定的虚拟环境删除:

jupyter kernelspec remove 虚拟环境名

猜你喜欢

转载自blog.csdn.net/weixin_46235937/article/details/130577158
今日推荐