jupyter notebook添加Anaconda虚拟环境的python kernel
2019-04-25 13:45
495 查看
转载地址:https://www.geek-share.com/detail/2722356681.html
例如,现在想创建一个虚拟环境名为ptyhon3.5,希望在jupyter notebook中可以直接选择ptyhon3.5这个kernel。命令如下
conda create -n ptyhon3.5 python=3.5 # 创建一个python3的环境,名为python3.5
activate ptyhon3.5# 激活py3环境
退出激活环境 deactivate ,再走下一步。不然会出错
conda install ipykernel # 安装ipykernel模块
python -m ipykernel install --user --name ptyhon3.5 --display-name "ptyhon3.5" # 进行配置
jupyter notebook # 启动jupyter notebook,然后在"新建"中就会有ptyhon3.5这个kernel了
如图,已成功!
相关文章推荐
- jupyter notebook添加Anaconda虚拟环境的python kernel
- 在Jupyter notebook中使用特定虚拟环境中的python的kernel
- windows系统中Python多版本与jupyter notebook使用虚拟环境的过程
- jupyter notebook 添加python3 kernel
- Python环境的安装(Anaconda+Jupyter notebook+Pycharm)
- 在Windows下为Jupyter Notebook设置Anaconda的虚拟环境
- Anaconda下的 Jupyter Notebook 安装 多python环境
- jupyter notebook添加kernel
- Python3+Mxnet+Anaconda+jupyter notebook安装
- anaconda jupyter notebook配置python3和python2两个版本
- Python使用seaborn包之路——下载包、更新anaconda3、jupyter notebook切换Python3
- Anaconda jupyter notebook 修改默认主目录(windows 环境)
- Jupyter notebook中设定Kernel为Python2和Python3
- Ubuntu16.04+Anaconda2下jupyter notebook kernel dead问题
- 深度学习环境搭建:linux下 Ubuntu16.04+cuda8.0+cudnn+anaconda+tensorflow并配置远程访问jupyter notebook
- windows环境下anaconda安装及在jupyter notebook上使用tensorflow
- Jupyter Notebook 如何创建虚拟环境(no module named ‘tensorflow)
- jupyter notebook 多个python kernel配置
- Caffe学习系列(13):数据可视化环境(python接口)配置 jupyter notebook
- windows下安装双版本anaconda,以及配置jupyter notebook的kernel