I installed TensorFlow in my Windows Python 3.5 Anaconda environment. Verification was successful (with warning)
(tensorflow) C:\>python
Python 3.5.3 | Intel Corporation | (default, April 27, 2017 5:03:30 PM) [MSC v.1900 64 bit (AMD64)] on win32
Enter “help,” “copyright,” “loans,” or “license” for more information. Intel (R) Distribution for Python is provided to you by Intel. Please check: https://software.intel.com/en-us/python-distribution
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
2017-10-04 11: 06: 13.569696: WC: \ tf_jenkins \ home \ workspace \ rel-win \ M \ windows \ PY \ 35 \ ensorflow \ core \ platform \ cpu_feature_guard.cc: 45] The TensorFlow library was not compiled for use AVX instructions, but they are available on your computer and can speed up processor calculations.
>>> print(sess.run(hello))
Hi Tensor Stream!
However, when I try to import it into my Python code
from __future__ import print_function, division
import numpy as np
import os
import matplotlib
import tensorflow as tf
I get this error
ImportError: no module named tenensflow
This is the location of the tenorflow package on my C drive
C:\Users\myname\Anaconda2\envs\tensorflow\Lib\site-packages\tensorflow
When I go into Anaconda Navigator, it seems to me that I need to choose root, Python35 or Tensorflow. It looks like the Tensorflow environment includes Python35.
Anaconda Navigator , , - Tensorflow. , Tensorflow IDE Anaconda/Spyder, Navigator,
conda create
pip install
: protobuf,
, SO ,