Windows TensorFlow Installation

Source: Internet
Author: User

Recently need to use TensorFlow, but under Windows TensorFlow installation is very unfriendly, there are a lot of problems, toss for a long time to calculate the success of installation. The installation process is recorded here for your reference.
In the beginning is according to online posts installed on-line, a number of consecutive attempts or failure, from the Internet (http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy A very good python installation package download URL) downloads the latest tensorflow1.0 installation package. Then go into the Anaconda prompt and start the installation, as shown in the following figure:

Appear successfully installed tensorflow-1.0.1 words, it shows that TensorFlow has been installed successfully, we can enter the next Test link. Before testing, one thing to note is that each time you use TensorFlow, you first enter activate TensorFlow, and then you enter the TensorFlow workspace. As shown in the following illustration:

Then write a simple matrix multiplication test, as shown in the following figure:

However, the above installation only implemented the use of TensorFlow in the command line, the import in the Anaconda still failed, and then tried several times. You can successfully install TensorFlow by installing TensorFlow in the Anaconda installation directory lib\site-packages, and then switching to the directory at the command line, and then performing the PIP Install command.

After testing, at this time anaconda already can normal import tensorflow.

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.