I was having some problems installing TensorFlow the way that is described on the webiste https://www.tensorflow.org/install/install_windows
I tried both pip and Anaconda, and failed.
The pip installation gave me this error:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you’re working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
The Anaconda gave me this error message:
tensorflow-1.2.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform
ImportError: No module named ‘tensorflow’
I then tried to pip using this:
pip install tensorflow
And, if I used an Anaconda command prompt, everything worked like a (sort of) charm. You can test it out by:
and then running this in the python console:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
Not sure if one of the original 15 attempts set this one up for success, but if you are having a hard time getting Tensorflow installed on your windows machine, this mine be the trick for you as well.