question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

package installation issue on the server-THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE

See original GitHub issue

Installed easily on local desktop, dev , dr windows servers. Few packages installed with no issues on prod but few give:

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.

Getting warning for pip version. Can’t upgrade pip as well: python -m pip install --upgrade pip

Collecting pip
Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl
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.
pip from https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl#sha256=b
27c4dedae8c41aa59108f2fa38bf78e0890e590545bc8ece7cdceb4ba60f6e4:
Expected sha256 b27c4dedae8c41aa59108f2fa38bf78e0890e590545bc8ece7cdceb4ba60f6e4
Got b3446e608f8af9a9fe4151e8fbb261bfe66de6261868d20796a6a97f70df6e3b
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
uranusjrcommented, Mar 30, 2021

It is probably best to ask this on a more general problem-solving platform, such as StackOverflow. I don’t have much expertise on this and can’t really offer further advices.

0reactions
no-response[bot]commented, Apr 13, 2021

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don’t have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - pip: These packages do mot match the hashes from ...
I got the problem when installing open3d. the --no-cache-dir method won't work. I just used wget to download the .whl file and install...
Read more >
Error: these packages do not match the hashes from the ...
As reported in this issue on GitHub, pip install occasionally fails with the following error in CI jobs: ERROR: THESE PACKAGES DO NOT...
Read more >
Secure installs - pip documentation v22.3.1
Hashes are required for all dependencies. If there is a dependency that is not spelled out and hashed in the requirements file, it...
Read more >
McAfee ePolicy Orchestrator 5.10.0 Product Guide
DOWNLOADED THE SOFTWARE PACKAGE). IF YOU DO NOT AGREE TO ALL OF THE TERMS SET FORTH IN THE AGREEMENT, DO NOT INSTALL THE...
Read more >
VMware Carbon Black App Control User Guide
Carbon Black is a registered trademark and/or trademark of VMware,. Inc. in the United States and other ... Marking a File as an...
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