我现在的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

有人知道怎么回事吗?

最佳答案

我也有同样的问题。只需尝试升级CPU版本,这将升级所有需要的库。然后升级gpu版本,一切正常。

关于linux - 无法将tensorflow升级到1.3.0,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45783594/

10-11 08:01
查看更多