「深度学习」 tf环境安装

Posted by Dawn-K's Blog on May 6, 2020

layout: post title : 「深度学习」 tf环境安装 date: 2020-05-06 tags: [深度学习] categories: [深度学习] —

tensorflow 环境安装

[toc]

环境

  • Windows 10
  • Anaconda3

安装流程

tensorflow 只支持python3.5和python3.6,且仅支持64位版本

1
2
3
4
5
6
# 创建python3.6环境
conda create --name py36 python=3.6
# 切换到py36(以下命令均是在py36环境下执行)
conda activate py36
# 通过清华源安装tensorflow
pip install tensorflow==1.12.0  -i https://pypi.tuna.tsinghua.edu.cn/simple