Personal essays, Memo reference
First of all the recent tensorflow to python3.5.x friendly, I first installed the Python3.6, check other some blog said there was a problem, and later re-installed 3.5.0. Download with Thunderbolt, super fast.
Installation is relatively simple, the official website to download, and then install, install, remember to check the add path, the following posted blog reference
Building a Python environment under Windows system-Insky-Blog Park
Http://www.cnblogs.com/windinsky/archive/2012/09/20/2695520.html
Then cmd or win+r to run Python successfully;
Then install TensorFlow, need to use PIP, first encountered the first problem is the PIP version update, according to the prompt to enter the command. But always off the net, not down, and later read blog want to put WHL file down, pip install, the result of the original Pip unloaded, the rear can not be installed. Later from the official website to download the source files, decompression, Python setup.py install installed, staged a curve to seek the country. There are some documents in the middle, some domestic mirrors, but useless. If you have a VPN, you don't have to ask for a curve.
But the rear installs the TensorFlow still wants to FQ. Pip install file path installation is to download the dependencies, always reading time out later tried the blue light useless, loco can be free for two hours, a start even on the effect of a better, but still appear broken network, later switched nodes, the net speed became good, finally installed successfully;
Syntaxerror:invalid syntax
>>> Import TensorFlow as TF
>>> Hello = tf.constant ("Hello, TensorFlow")
>>> sess = tf. Session ()
>>> Print (Sess.run (hello))
B ' Hello, TensorFlow '
Last Test, probably.
Installation and Getting started refer to Geek College http://wiki.jikexueyuan.com/project/tensorflow-zh/get_started/os_setup.html
Python3.5+tensorflow installation under Windows