Page 1 of 1

How to test the Python and TensorFlow examples ?

Posted: Tue Aug 15, 2017 12:51 am
by Antonio Linares
1. Download and install Python from here:

https://www.python.org/ftp/python/3.6.2 ... -3.6.2.exe

2. Install TensorFlow for Python:

From a cmd window execute this:
pip3 install --upgrade tensorflow

3. Create this file:
tf.py

Code: Select all

import tensorflow as tf
hello = tf.constant( "Hello world" )
session = tf.Session()
print( session.run( hello ) )
4. from a cmd window execute:
python tf.py

You will get:
b'Hello world'

Re: How to test the Python and TensorFlow examples ?

Posted: Fri Aug 18, 2017 9:33 am
by Biel EA6DD
Microsoft Visual C++ 2015 Redistributable X64 is required, probably you already have it installed. If not, you can download from here
https://www.microsoft.com/en-us/downloa ... x?id=53587