ubuntu 14.04安装TensorFlow遇到的问题及解决方法
ubuntu 14.04安装TensorFlow遇到的问题及解决方法
出现的问题包括: ①Cannot uninstall ‘six’. It is a distutils installed project and thus we …||||②Storing debug log for failure in /home/ubuntu/.pip/pip.log||||
第一步
sudo apt-get install python-pip python-dev
第二步
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
出现如下错误:
第三步 解决方法:
pip install --upgrade pip setuptools python2
第四步
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
出现问题:Cannot uninstall ‘six’.
第五步 解决方法:
sudo pip install six --upgrade --ignore-installed six
第六步
sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
***终端显示:Successfully installed appdirs-1.4.3 numpy-1.12.1 tensorflow-0.8.0
测试一下
python
import tensorflow
终于大功告成!!!