TensorFlow on Windows10 with anaconda

Post date: 2017/11/19 14:40:01

  1. See "Installing TensorFlow on Windows"
  2. Anaconda donwload
    1. Pyson-3.6 version ": Anaconda3-5.0.1-Windows-x86_64.exe
      1. I Agree
      2. Just Me All Users Install
      3. Advanced Options
        1. Add Anaconda to my PATH environment variable
  3. Anaconda Prompt
C: > conda create -n tensorflow python=3.6 
C: > activate tensorflow 
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
    tensorflow-1.4.0-cp36-cp36m-win_amd64.whl 
(tensorflow)C:> python
 >> import os
 >> os.environ('TF_CPP_MIN_LOG_LEVEL']='2'
 >> import tensorflow as tf
 >> helllo = tf.constant('Hello, TendowrFlow!')
 >> sess = tf.Session()
 >> print(sess.run(hello)) b'Hello, TensorFlow!
 >> exit() 

(tensorflow)C:> deactive tensorflow