WIN10 installation Anaconda3 with Anaconda3 installation TensorFlow 1.2 (only python3.5 supported)

Source: Internet
Author: User

WIN10 installation Anaconda3

1. Installing Anaconda3

Select the appropriate anaconda to install, click here, download the corresponding system version of the Anaconda, the official website is now the version of Anaconda 4.3.1 for python3.6. The author installs the version 4.3.0.

As with the installation of ordinary software, all choose the default, note the python3.6 added to the environment variable .

So anaconda is installed, we can use the following command to see which packages Anaconda have installed.
Run 开始菜单->Anaconda3—>Anaconda Prompt :

list
    • 1

You can see that you have installed NumPy, sympy and other commonly used packages.

2. Installing TensorFlow

TensorFlow currently supports only Python version 3.5 under Windows.

steps to install TensorFlow with Anaconda under Windows
First, download the installation Anaconda
Under Windows default python3.6, after the installation is complete, open the Anaconda-prompt under Folder Anaconda3 (-bit) as shown in:

Enter the command inside: Anaconda search-t Conda TensorFlow
The purpose is to view the TensorFlow version that can be installed;
Then find the version which we need, bloggers want to install under Windows, so choose: Dhirschfeld/tensorflow 0.12.orc,win-64
Then enter the command: Anaconda show Dhirschfeld/tensorflow, to see how to install the version, after running the display:

Copy "Conda install ..." This sentence, run on it, need a moment, after the installation is successful, we will verify that the TensorFlow is installed successfully

Start

Enter in the Spyder editor


The test code is as follows:

import tensorflow as tfhello = tf.constant(‘Hello, TensorFlow!‘)sess = tf.Session()print(sess.run(hello))
    • 1
    • 2
    • 3
    • 4

Operation Result:

If you follow the above steps to install the error, it may be because the Python version of your computer does not match anaconda The default version is python3.6, preferably to 3.5 version of Python, follow the above steps to install will not error, you can enter the following information in cmd: Conda install python=3.5.2, the operation takes a few minutes, Install python3.5.2, and then follow the steps above to execute it again!

WIN10 installation Anaconda3 with Anaconda3 installation TensorFlow 1.2 (only python3.5 supported)

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.