Python Forum
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.
#1
I am trying to install pdfplumber [0.8.0 higher versions ]

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.
cryptography>=36.0.0 from *******
Expected sha256 73801ac9736741f220e20435f84ecec75ed70eda90f781a148f1bad546963d81
Got ae1ea5bedbb9a191bb8c91a2640e84bc9e1ad3ec844f306925534118e48bb867


How do i resolve this issue ? I have tried clearing the cachen, uninstall and install the package. finally i tried uninstall the python itself and reinstalle. it does not work. please help me to resolve this issue.
Reply
#2
I (for one) am unsure what it is that you're doing, that gives you an error.

What I can tell you is that I've just checked both the MD5 and the SHA-256 hashes on d/loading this file:

pdfplumber-0.10.3.tar.gz

... and both are a match for the ones published.
Sig:
>>> import this

The UNIX philosophy: "Do one thing, and do it well."

"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse

"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
Reply
#3
Also running through this problem? Any solution would be appreciated
Reply
#4
The error you're seeing indicates a hash mismatch, meaning the package you're trying to install might be corrupted or tampered with. To resolve this:

1. Clear pip cache: Run pip cache purge to clear any cached files.
2. Use a different version: Try installing a different version of pdfplumber, or use pip install pdfplumber==0.8.0 --no-cache-dir to avoid cache issues.
3. Check PyPI mirror: If you’re using a custom PyPI mirror, switch back to the official one or try a different mirror.
4. Verify cryptography version: Ensure the version of cryptography is compatible with pdfplumber.

If the problem persists, you might want to verify your internet connection or check for any proxy/firewall issues.
buran write Mar-17-2025, 11:23 AM:
Spam link removed
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Python packages as OS-level packages andi0661 3 1,405 Jul-02-2024, 09:07 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020