Operating system: UBUNTU-16.04.2-DESKTOP-AMD64
TensorFlow version: 1.0.0
Python version: 2.7.12
To open SSH:
sudo Install openssh-server sudossh start
Install PIP:
sudo Install Python-pip
Install TensorFlow:
GitHub Address: Https://github.com/tensorflow/tensorflow
wget https://CI.TENSORFLOW.ORG/VIEW/NIGHTLY/JOB/NIGHTLY-MATRIX-CPU/TF_BUILD_IS_OPT=OPT,TF _build_is_pip=pip,tf_build_python_version=python2,label=cpu-slave/lastsuccessfulbuild/artifact/pip_test/whl/ TENSORFLOW-1.0.0-CP27-NONE-LINUX_X86_64.WHLsudoinstall tensorflow-1.0. 0-CP27-NONE-LINUX_X86_64.WHL
Example code:
# !/usr/bin/env python # -*-coding:utf-8-*- Import = tf.constant ('Hello, tensorflow! ' = TF. Session ()print= tf.constant (tf.constant)Print Sess.run (a+b)
All right, that's it, I hope it helps you.
This article GitHub address:
https://github.com/mike-zhang/mikeBlogEssays/blob/master/2017/20170313_ubuntu1604 Installation tensorflow.md
Welcome to Supplement
ubuntu1604 installation TensorFlow