The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

burton (31) [Avatar] Offline
#1
Test program
[ 109 bytes ]
I installed TensorFlow on my MAC as recommended on the TensorFlow web page using virtualenv. When I run the test code (test.py) I get the following error:
(tensorflow) Rs-MacBook-Pro:scripts rebeccaannburton$ python test.py
/Users/rebeccaannburton/Projects/tensorflow/lib/python3.6/importlib/_bootstrap.py:205: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
2017-11-11 22:43:26.739901: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
b'Hello, TensorFlow!'


For reference here is my test.py file:

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))


Ideas?