无法将tensorflow升级到1.3.0

时间:2017-08-20 15:08:20

标签: linux tensorflow

我目前的tensorflow版本是1.2.1,我想将它升级到新版本1.3.0。我从网站下载whl文件并在终端中输入命令:

sudo pip install --upgrade tensorflow_gpu-1.3.0-cp27-none-linux_x86_64.whl

但它不起作用。它给了我以下信息:

Requirement already up-to-date: mock>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from tensorflow-gpu==1.3.0)
Downloading/unpacking tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Could not find any downloads that satisfy the requirement tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Cleaning up...
No distributions at all found for tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Storing debug log for failure in /home/zxf/.pip/pip.log

任何人都知道什么是错的?

1 个答案:

答案 0 :(得分:0)

我面临同样的问题。只需尝试升级CPU版本即可升级所有需要的库。然后升级GPU版本,一切正常。