Tensorflow not installing, Packages do not match hash file

一笑奈何 提交于 2019-12-13 01:34:56

问题


so Ive been trying to install TensorFlow on my Rasberry Pi 3 (B) running Raspbian Strech using pip, but no matter what I try, I get the same error:

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    tensorflow from https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp35-none-linux_armv7l.whl#sha256=6c00dd13db0791e83cb08d532f007cc7fd44c8d7b52662a4a0065ac4fe7ca18a:
        Expected sha256 6c00dd13db0791e83cb08d532f007cc7fd44c8d7b52662a4a0065ac4fe7ca18a
             Got        9d1adf39793da3e45661aadc026f9166e893071f4626bfa863c0ee7867dc63ba

This error always shows up in the middle of installation at random points

I've updated pip and tried using pip3 but none of them work... This is wat I've tried so far:

sudo python3 -m pip install tensorflow

and

sudo pip3 install tensorflow

Both of them show the same error


回答1:


I believe that tensorflow can only run on 64-bit python. I would check to see what version of python you are trying to install with.



来源:https://stackoverflow.com/questions/56920045/tensorflow-not-installing-packages-do-not-match-hash-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!