TensorFlow installation based on Anaconda, Windows,linux,ubuntu__linux

Source: Internet
Author: User

First to install the Anaconda.
Note that to add an environment variable to the system, there is an option for this. Or you'll need to manually CD to Anaconda3\bin to execute the instructions below.

Due to the installation of TensorFlow, use

Pip Install TensorFlow

The instructions always go wrong, even with the official website.

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

and similar instructions on Linux are also a variety of errors. So I wanted to search for my own bag about TensorFlow.

In CMD or terminal.

Anaconda Search-t Conda TensorFlow

Find a bag. Notice the requirements of the platform. Re-execution

Anaconda Show (fill in the name of the package, such as Conda-forge/tensorflow)

To find the way to install the package. Install in that way. If something goes wrong, see if there is a lack of dependency. If the lack of reliance on the pretend, otherwise ... Just change the bag.

Finally, tap the import TensorFlow as TF in Python to try to run correctly. If you can, you will successfully put on the TensorFlow.

I am here to install the successful instructions are:

Conda Install--channel https://conda.anaconda.org/dsm protobuf conda install--channel https://
Conda.anaconda.org/dhirschfeld TensorFlow

Hope to help everyone ~

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.