Windows installation TensorFlow

Source: Internet
Author: User
Tags aliyun

1 . Install Python.

Click here to download Python3.5.2. Always choose to install PIP when you install Python.

2 . Configure the Python environment variable.

Add the% installation path%\scripts to the path below.

3, revise the PIP domestic source.

Create a PIP folder under c:\users\l{your user name}\appdata\local, creating a new pip.conf file in the Pip folder and writing the following.

[global]  = http://mirrors.aliyun.com/pypi/simple/[install]trusted-host =mirrors.aliyun.com  

4, install TensorFlow.

Open PowerShell and execute the following code.

Pip Install--upgrade HTTPS://STORAGE.GOOGLEAPIS.COM/TENSORFLOW/WINDOWS/CPU/TENSORFLOW-0.12.0RC1-CP35-CP35M-WIN_AMD64.WHL

5. Test and install.

Open Python IDLE, enter import TensorFlow as TF, run. If the error is not shown, the installation is successful.

6, reference materials.

Native Windows installation Tensorflow0.12 method: http://blog.csdn.net/include1224/article/details/53452824

Precautions:

1. Using the package installed in resources TensorFlow, where the Tensorboard is not displayed properly under Windows, this is due to a lack of resource packs. For details, see: https://github.com/tensorflow/tensorflow/issues/5983. The official solution is to install it using the http://ci.tensorflow.org/view/Nightly/job/nightly-win/version before the new version comes out. Both RC0 and RC1 have this problem.

Windows installation 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.