[Tensorflow] Linux + tf set up under python environment

Copyright: please indicate the source https://blog.csdn.net/weixin_40937100/article/details/88878440

This article is for me as a beginner's first post AI practice notes, and hopes to have been written down, recorded the learning process, discovered the problem and the solution, it can be considered an incentive to own it!

Operating system: Ubuntu 16.04
Python version: 2.7.15
TensorFlow Version: 1.3.0
TFLearn URL: tflearn.org

Build the following steps:

1, install Ubuntu 16.04 operating system

2, install python package management tools pip

sudo apt-get install python-dev python-pip

3, TFLearn official website to find installation instructions and install tensorflow

http://tflearn.org/installation/

Here Insert Picture Description
Find the following instructions:

$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl

After entering the instruction installed in the terminal (optional Python 2)

# Python 2
$ sudo pip install $TF_BINARY_URL

# Python 3
$ sudo pip3 install $TF_BINARY_URL

4. Allow the installation process

5, the installation is complete, test

Guess you like

Origin blog.csdn.net/weixin_40937100/article/details/88878440