怎么更改jupyter的环境

350次阅读
没有评论

怎么更改jupyter的环境

更改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使用教程

神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试

相关文章:

版权声明:python工具2022-12-09发表,共计393字。
新手QQ群:570568346,欢迎进群讨论 Python51学习