所以我一直在尝试使用pip在运行Raspbian Strech的Rasberry Pi 3(B)上安装TensorFlow,但是无论我如何尝试,我都会遇到相同的错误:
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
此错误始终显示在安装过程中的随机位置
我已经更新了pip并尝试使用pip3,但是它们都不起作用... 到目前为止,我已经尝试过此方法:
sudo python3 -m pip install tensorflow
和
sudo pip3 install tensorflow
两者都显示相同的错误
答案 0 :(得分:1)
我相信tensorflow只能在64位python上运行。我会检查一下您要安装的python版本。