Python packages hash not matching whilst installing using pip

前端 未结 7 832
甜味超标
甜味超标 2020-12-30 20:26

I am using pip to install all my python packages but get error as shown in the trace below. What is the problem and how can I solve it?

usr@comp:~$ pip insta         


        
7条回答
  •  梦毁少年i
    2020-12-30 21:04

    The solution may be made apparent by simply verifying the specified package's published hash with your calculated hash of the downloaded file.

    If they match - then the pip install might have corrupted the download. If they don't match - then either the hash was not correctly published when the package was published - or - whomever tampered with the download file missed updating the md5 hash.

    Be thankful that pip has proper download hygiene. A vast majority of computer users never compare hashes of the software they download and install.

提交回复
热议问题