Tensorflow Windows安装

操作系统:

  Windows 7

安装步骤

Step 1: 安装Tensorflow支持的Python版本,配置环境变量

  目前,Tensorflow支持:

  本次选择Python3.5.2版,系统上已安装过Python2.7,欲使之共存,将新安装的python.exe重命名为python3.exe。

Win +R ,cmd,输入python3验证。

Step 2: 安装tensorflow 

  • 安装或更新pip

    python3 -m pip install --upgrade pip

  • 指定pip源安装

    pip3 install --upgrade tensorflow ,报Time out。

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple TensorFlow

Step 3: 安装tensorflow 

   经过前面步骤后,报找不到MSVCP140.DLL。需装Microsoft Visual C++ 2015 Redistributable

参考链接:

1.  Tensorflow中文网,Windows安装

2.  TensorFlow在Windows环境下的搭建

3. windows7中 安装tensorflow 

原文地址:https://www.cnblogs.com/gradual/p/8669396.html