品易云推流 关闭
文章详情页
文章 > Jupyter > 怎么更改jupyter的环境

怎么更改jupyter的环境

头像

yang

2020-04-15 16:33:128409浏览 · 0收藏 · 0评论

更改jupyter环境的方法:

查看我的 python 环境

$ conda info -e
# conda environments:
#
base                  *  /anaconda3
caffe2                   /anaconda3/envs/caffe2
cv                       /anaconda3/envs/cv
tf                       /anaconda3/envs/tf

设置 tf 作为 jupyter 启动时的 Python 环境

首先激活 tf 环境

$ source activate tf

在 tf 环境下安装 jupyter

(tf) :~ $ conda install jupyter
# 最左边 环境名 tf

启动 jupyter

(tf) :~ $ jupyter notebook

推荐:jupyter使用教程

关注

关注公众号,随时随地在线学习

本教程部分素材来源于网络,版权问题联系站长!

底部广告图