When I give command

pip3 install face_recognition

in the raspberry pi terminal, It shows this 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.

What to do? I have tried many other versions of raspbian but output is the same.

  • Did you follow the instructions in the quoted error?
    – Wildcard
    Jun 28, 2019 at 0:06

1 Answer 1


Your pip3 command may have downloaded a corrupted file.

Try again with pip3 install --no-cache-dir face_recognition.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .