Ubuntu上安装tensorflow非常简单,但还是会踩到一点小坑。本文假设你的Ubuntu已经安装好,然后安装tensorflow过程如下:
1. 输入 su 回车,输入密码
2. 安装pip
sudo apt-get install python-pip
3. 安装tensorflow
sudo pip install tensorflow
得到错误:Could not findany downloads that satisfy the requirement tensorflow
解决办法:sudo pip install--upgrade pip
4. sudo pip install tensorflow 成功