The machine environment Win7, want to install TensorFlow, tried for a long time, just installed. The official website is kingly.
Note: Currently tensorflow only supports Python 3.5 in the Windows environment. *64,. So the Python version must be under the right.
The approach I'm using is
Installing with native Pip, using the CPU version.
Here is the shared Python link Http://pan.baidu.com/s/1qXGlYdI
The following command will refer to the official website https://www.tensorflow.org/install/install_windows
c:\> PIP3 Install--upgrade TensorFlow
Install it and test it later.
Python
Enter the following short program inside the python interactive shell:
>>> import TensorFlow as TF
>>> Hello = Tf . constant ( ' Hello, tensorflow! '
>>> Sess = Tf. Session ()
>>>print (sess. Run (hello
If the system outputs the following, then your is ready to begin writing TensorFlow programs:
Hello, tensorflow!.
Configure Pycharm
Accustomed to the use of Jetbrain series development tools, so choose Pycharm to develop, configured as follows:
After the new project in Setting–project interpreter select the Python interpreter under TensorFlow, such as my interpreter location:
You can run a HelloWorld when you're done deploying.
2 configuration file Encoding
Windows Environment Installation TensorFlow