您好,欢迎来到爱够旅游网。
搜索
您的当前位置:首页Anaconda安装Tensorflow(CPU版)

Anaconda安装Tensorflow(CPU版)

来源:爱够旅游网
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --set show_channel_urls yes
  1. 创建tensorflow环境
conda create -n tensorflow python=3.7.0
  1. 激活环境
activate tensorflow
  1. 安装tensorflow
conda install tensorflow
  1. 安装jupyter notebook
conda install jupyter notebook

注意:
如果打开jupyter notebook出现kernel error,解决办法:输入命令 python -m ipykernel install --user
安装jupyter notebook后tensorflow环境不可用,解决办法:输入命令ipython kernelspec install-self --user

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- igbc.cn 版权所有 湘ICP备2023023988号-5

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务