安装Tensorflow遇到的问题

来源:互联网 发布:华兴资本的包凡 知乎 编辑:程序博客网 时间:2024/05/19 13:06

使用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

即可


原创粉丝点击