Installing TensorFlow on CentOS

Google released TensorFlow as open source for community use and improvement. From the site: “TensorFlow™ is an open source software library for numerical computation using data flow graphs.”

The instructions on tensorflow.org are aimed at Ubuntu and OS X. I had a need to install it on CentOS so I documented the steps in a github gist. Feel free to comment if you find something I missed:

* Updated 8/18/2016 for TensorFlow 0.10
* Updated gist 10/18/2016 to correct typo in epel-release


Posted

in

, , ,

by

Comments

6 responses to “Installing TensorFlow on CentOS”

  1. ronnie Avatar
    ronnie

    Hi there,

    I tried follow your instruction I got this error:

    You are using pip version 7.1.0, however version 8.1.1 is available.
    You should consider upgrading via the ‘pip install –upgrade pip’ command.
    tensorflow-0.7.1-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

    I have python2.7 installed

  2. ronnie Avatar
    ronnie

    Please ignore my previous post, when I run pip install –upgrade numpy scipy wheel cryptography, I got this error halfway “Failed building wheel for scipy”

    I am using Centos 6.7, I have both python 2.6 and 2.7 installed on the server.

    1. Tim Avatar
      Tim

      @ronnie I would try installing just wheel with `pip install –upgrade wheel` and work through the error messages from there.

      Also, I’ll update the post… there is a new version of tensorflow out, and you should be using that.

  3. Tim Avatar
    Tim

    Post updated for tensorflow 8

  4. Tim Avatar
    Tim

    I posted another update for tensorflow 0.10