Tensorflow is a numerical computation software http://tensorflow.org/get_started/os_setup.md#binary_installation

The installation instruction says to simply pip install on Ubuntu but I'm getting the following error:

$ sudo -H pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

My Ubuntu version:

alvas@ubi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty

My kernel:

$ uname -a
Linux ubi 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Any clues on how to install tensorflow in ubuntu or to resolve the platform problem?

share|improve this question
    
What does uname -a report? – Marco Ceppi Nov 10 '15 at 1:06
up vote 4 down vote accepted

I had the same problem, because I used the wrong pip version (python 3). I fixed it by installing pip2.7 as described here: http://pip.readthedocs.org/en/stable/installing/

You basically download the file get-pip.py

and install pip2.7 with

python2.7 get-pip.py

now you can run

python2.7 -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

you need to be a superuser and tensorflow will install.

cheers

share|improve this answer
1  
Indeed, using pip2 works: pip2 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorfl‌​ow-0.5.0-cp27-none-l‌​inux_x86_64.whl – alvas Nov 10 '15 at 16:53

protected by Community Nov 17 '15 at 11:56

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.