Installation method:
I'm using the Anaconda distribution of Python instead of having multiple versions of python on my computer. I used the instructions under TensorFlow with Anaconda (link1)(link2) with the following commands:
C:> conda create -n tensorflow python=3.6
C:> activate tensorflow
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
Error:
When running the test hello world code from within a tensorflow environment I received the following errors:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
2018-01-23 02:44:09.201798: I C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
>>> print(sess.run(hello))
b'Hello, TensorFlow!'
Questions:
Does this mean my CPU does not support Tensorflow? (i7-6500U, 2.59GHz)
Does the b' signify an environment output, or is this an error?
I noticed the TensorFlow library doesn't appear in my CMD prompt version of python, nor in my Spyder executable. Should I use pip and install a second version of the library? Or does TensorFlow require an active environment to invoke the library?
Edit: I just noticed this line in a re-read:
In Anaconda, you may use conda to create a virtual environment. However, within Anaconda, we recommend installing TensorFlow with the pip install command, not with the conda install command.