安装tensorflow:“错误:这些软件包与哈希不匹配...”

时间:2019-08-11 14:18:23

标签: python tensorflow pip

我正在尝试在命令提示符下通过pip安装tensorflow,但出现此错误:

C:\Users\user>pip install tensorflow==1.10.0
Collecting tensorflow==1.10.0
  Downloading https://files.pythonhosted.org/packages/0e/2a/c3fe6035f0a8726e5b
0680af3ccaf826f4a64ce7306e57017aba749447/tensorflow-1.10.0-cp36-cp36m-win_amd6
whl (37.7MB)
     |██████████████████              | 20.4MB 312kB/s eta 0:00:56
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If y
 have updated the package versions, please update the hashes. Otherwise, exami
 the package contents carefully; someone may have tampered with them.
    tensorflow==1.10.0 from https://files.pythonhosted.org/packages/0e/2a/c3fe
35f0a8726e5b210680af3ccaf826f4a64ce7306e57017aba749447/tensorflow-1.10.0-cp36-
36m-win_amd64.whl#sha256=6f9aa4282a8890d79b83f2f55a2429675f2d0881964248a8d8838
61773e170:
        Expected sha256 6f9aa4282a8890d79b83f2f55a2429675f2d0881964248a8d8838e
1773e170
             Got        047d5b0420ff030960f9f72cc74447e335fa90b988b5fb27a2ce7f
bc7a8e5f

我尝试做:

pip install tensorflow --no-cache-dir

但是它以相同的方式失败。

请帮助!

0 个答案:

没有答案