Windows install Python and TensorFlow

Source: Internet
Author: User

Reference: Https://www.tensorflow.org/install/install_windows#installing_with_anaconda

1. Download Anaconda

https://www.anaconda.com/download/

Download the version here:

Click the *.exe file to install directly, after the installation is complete in "All Programs" found Anaconda Prompt

Run as Administrator. (You can also run the file as an administrator in the installation directory, my installation directory is D:\Tensorflow\Anaconda3\Scripts)

Execute Python--version to see if Python is installed properly.

2. Python normal installation, start installation TensorFlow

Or do pip install TensorFlow in the Anaconda prompt command-line window, which requires a few minutes to download TensorFlow and the related packages it depends on.

After the installation is successful, execute Python into the python command line, and enter the following test code to test:

Import TensorFlow as TFA = Tf.constant (ten) B = tf.constant (+) Sess = tf. Session () print (Sess.run (A + B)) Sess.close ()

3. TensorFlow After normal use, configure Pycharm

Project interpreter, file, settings, set the path to anaconda under the installation path Python.exe

Windows install Python and TensorFlow

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.