Ubuntu+anaconda3+tensorflow Installation

Source: Internet
Author: User

Really every machine has his temper, follow the online tutorial constantly error ..... has been in the online tutorial, find solutions, finally, or installed 1 according to Anaconda3 here no longer write, mainly in accordance with TensorFlow 2 open the terminal, replace the source (faster) Input Conda config--add channels https:// Mirrors. Tuna. Tsinghua. edu. cn/anaconda/pkgs/main/
Conda config--add channels https://mirrors. Tuna Tsinghua. edu. cn/anaconda/pkgs/free/
Conda config--set show_channel_urls Yes 3 create an environment named Flappbird (you can change to your own, then it is a tutorial on the web installed, generally named TensorFlow) Conda Create -N Flappbird python = 3.6
4 activating environment Source Activate Flappbird 5 installation tensorflow Conda install-n flappbird-c https://conda.anaconda.org/jjhelmus Tensorflo W 6 re-open the terminal activation environment

SOURCE Activate Flappbird 7 into the Python environment

8 input import TensorFlow as TF
Hello = tf.constant (' Hello, tensorflow! ')
Sess = tf. Session ()
Print (Sess.run (hello)) succeeded


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.