Python3.5+tensorflow installation under Windows

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.