TensorFlow installation on Ubuntu 14.04 LTS [dupli

2019-09-21 15:41发布

问题:

This question is an exact duplicate of:

  • TensorFlow installation on Ubuntu 1 answer

When I try to install TensorFlow Google's Machine Learning library on Ubunto using command :

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

i keep getting this error

tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
Storing debug log for failure in /home/user/.pip/pip.log

I am using pip installed on my machine and have python 2.7 installed on the machine as well

vmware image info :

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

Can anyone please help me to solve this error?

回答1:

Use super user for installation.

$ sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

This worked for me.



回答2:

Tensorflow works fine for me with VMware & Ubuntu. Please try:

sudo apt-get install python-pip python-dev
sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl