• 技术文章 >常用工具 >Jupyter

    怎么更改jupyter的环境

    yangyang2020-04-15 16:33:12原创7581

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

    专题推荐:jupyter
    品易云
    上一篇:怎样用command(命令)打开jupyter 下一篇:jupyter怎么看python包的版本?

    相关文章推荐

    • 怎么在jupyter安装xlrd包• 怎么在jupyter中导入数据集• 怎么更改jupyter的工作目录

    全部评论我要评论

    © 2021 Python学习网 苏ICP备2021003149号-1

  • 取消发布评论
  • 

    Python学习网