pypa / pip

The Python package installer

Home Page:https://pip.pypa.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hash not matching

habullock opened this issue · comments

Description

C:>pip cache purge
Files removed: 22

C:>pip install cx_Freeze --upgrade --trusted-host files.pythonhosted.org --trusted-host pypi.org
Collecting cx_Freeze
Downloading cx_Freeze-7.0.0-cp311-cp311-win_amd64.whl.metadata (6.7 kB)
Requirement already satisfied: setuptools<70,>=62.6 in c:\users\hbullock\appdata\local\programs\python\python311\lib\site-packages (from cx_Freeze) (65.5.0)
Collecting wheel<=0.43.0,>=0.42.0 (from cx_Freeze)
Downloading wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting cx-Logging>=3.1 (from cx_Freeze)
Downloading cx_Logging-3.2.0-cp311-cp311-win_amd64.whl.metadata (1.4 kB)
Collecting lief<0.15.0,>=0.12.0 (from cx_Freeze)
Downloading lief-0.14.1-cp311-cp311-win_amd64.whl.metadata (4.0 kB)
Downloading cx_Freeze-7.0.0-cp311-cp311-win_amd64.whl (2.1 MB)
--------------------------------------- 2.1/2.1 MB 2.3 MB/s eta 0:00:01
Downloading cx_Logging-3.2.0-cp311-cp311-win_amd64.whl (26 kB)
Downloading lief-0.14.1-cp311-cp311-win_amd64.whl (2.2 MB)
---------------------------------------- 2.2/2.2 MB 4.4 MB/s eta 0:00:00
Downloading wheel-0.43.0-py3-none-any.whl (65 kB)
---------------------------------------- 65.8/65.8 kB 3.5 MB/s eta 0:00:00
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.
unknown package:
Expected sha256 8fb71d23dba27dc40393a8b460bbf64759899246cd595860f66493cee64f27a5
Got 7ccd260320b5ab1397f27735680050f748ca256f6ffffa7efdf506d0b919fc54

Expected behavior

No response

pip version

pip 24.0

Python version

Python 3.11.9

OS

Windows 10

How to Reproduce

pip install cx_Freeze

Output

C:\>pip cache purge
Files removed: 22

C:\>pip install cx_Freeze --upgrade --trusted-host files.pythonhosted.org --trusted-host pypi.org
Collecting cx_Freeze
  Downloading cx_Freeze-7.0.0-cp311-cp311-win_amd64.whl.metadata (6.7 kB)
Requirement already satisfied: setuptools<70,>=62.6 in c:\users\hbullock\appdata\local\programs\python\python311\lib\site-packages (from cx_Freeze) (65.5.0)
Collecting wheel<=0.43.0,>=0.42.0 (from cx_Freeze)
  Downloading wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting cx-Logging>=3.1 (from cx_Freeze)
  Downloading cx_Logging-3.2.0-cp311-cp311-win_amd64.whl.metadata (1.4 kB)
Collecting lief<0.15.0,>=0.12.0 (from cx_Freeze)
  Downloading lief-0.14.1-cp311-cp311-win_amd64.whl.metadata (4.0 kB)
Downloading cx_Freeze-7.0.0-cp311-cp311-win_amd64.whl (2.1 MB)
   ---------------------------------------  2.1/2.1 MB 2.3 MB/s eta 0:00:01
Downloading cx_Logging-3.2.0-cp311-cp311-win_amd64.whl (26 kB)
Downloading lief-0.14.1-cp311-cp311-win_amd64.whl (2.2 MB)
   ---------------------------------------- 2.2/2.2 MB 4.4 MB/s eta 0:00:00
Downloading wheel-0.43.0-py3-none-any.whl (65 kB)
   ---------------------------------------- 65.8/65.8 kB 3.5 MB/s eta 0:00:00
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.
    unknown package:
        Expected sha256 8fb71d23dba27dc40393a8b460bbf64759899246cd595860f66493cee64f27a5
             Got        7ccd260320b5ab1397f27735680050f748ca256f6ffffa7efd

Code of Conduct

Cisco Umbrella was apparently altering the downloaded file(s). Stopping the Umbrella service allowed the files to be installed.