ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE (Source Install))

See original GitHub issue

I am trying to run a source install on my raspberry pi 3B+ however after reaching the ./setup command I am greeted with the following 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<1.14,>=1.13 from https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp35-none-linux_armv7l.whl#sha256=6c00dd13db0791e83cb08d532f007cc7fd44c8d7b52662a4a0065ac4fe7ca18a (from mycroft-precise==0.3.0): Expected sha256 6c00dd13db0791e83cb08d532f007cc7fd44c8d7b52662a4a0065ac4fe7ca18a Got f679035a7cd96d24f826463bef208cd04f1eee50eb6023a158c05b529e17a71b

How can I fix this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

20reactions
krisgeslingcommented, Jun 16, 2019

Hi there, I tried downloading the same file and got the expected hash rather than your actual hash, which means that most likely it just got corrupted during download, less likely is someone tried to serve you a malicious package using some form of MITM.

Can you try install this package again forcing it to download a fresh copy with --no-cache-dir.

cd ~/mycroft-core   # or wherever you have cloned mycroft-core to
source venv-activate.sh
pip install tensorflow --no-cache-dir
10reactions
rathorologycommented, Feb 11, 2020

pip install tensorflow --no-cache-dir worked

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python packages hash not matching whilst installing using pip
Are you using a requirements file? This error suggests that you're using pip's hash checking mode and may be trying to upgrade a...
Read more >
Error: these packages do not match the hashes from the ...
ERROR : THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the...
Read more >
hashin - PyPI
This tool downloads from PyPI (over HTTPS) and runs pip hash on the downloaded files. You should check that the packages that are...
Read more >
Changelog - pip documentation v22.3.1
When this field is present for a release link, pip will ignore the download when installing to a Python version that doesn't satisfy...
Read more >
Error with pip install from PyPI in self hosted Gitlab - General
ERROR : Could not find a version that satisfies the requirement unidecode (from my-library) (from versions: none) ERROR: No matching ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found