jupyter notebook 多环境conda kernel配置

jupyter notebook 多环境conda kernel配置

一直记不住在jupyter notebook配置多环境编译器技巧,今总结于此,也希望对其他小伙伴有所帮助,如果有用请点赞!

1.对windows用户,win+R,输入cmd进去进入命令行,激活环境:

1

2.首先,确定自己是否安装包‘ipykernel’,若是没有安装,则进行安装;已安装进行下一步。

这里写图片描述

3.然后输入命令:
python -m ipykernel install --user --name deeplearningproject --display-name "deeplearningproject"

注:上述两个 deeplearningproject,前者是自身环境名称,不能变化;后者是在jupyter notebook的显示名称,可修改。

这里写图片描述

4.至此,完成所有操作,输入jupyter notebook进行验证

这里写图片描述

5.大功告成

这里写图片描述

至此,完成所有操作,有用请点赞,谢谢~~!

猜你喜欢

转载自blog.csdn.net/dby_freedom/article/details/80033762
今日推荐