使用pip命令
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
安装Tensorflow遇到错误:
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
分析后发现该网站需要翻墙才能上,故打开lantern,重新安装
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
即可