Update fails with
2025-04-23 12:16:02,862 > Collecting Babel<2.17,>=2.16 (from OctoPrint==1.11.0)
2025-04-23 12:16:02,862 > Downloading https://www.piwheels.org/simple/babel/babel-2.16.0-py3-none-any.whl (9.6 MB)
2025-04-23 12:16:55,819 ! 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.
2025-04-23 12:16:55,820 ! Babel<2.17,>=2.16 from https://www.piwheels.org/simple/babel/babel-2.16.0-py3-none-any.whl#sha256=8bf145fede7af920021e82a337200b0342b6a4fb784f0889afb604e88742dfb9 (from OctoPrint==1.11.0):
2025-04-23 12:16:55,820 ! Expected sha256 8bf145fede7af920021e82a337200b0342b6a4fb784f0889afb604e88742dfb9
2025-04-23 12:16:55,821 ! Got d9c89f22e93a44e8fd948a1c41d8d6c17d92f818aa42e96bc3e48530ea3bb622
2025-04-23 12:16:55,821 !
2025-04-23 12:16:55,822 > βββββββββββ 2.7/9.6 MB 63.2 kB/s eta 0:01:50
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
Currently running Version 1.10.3, Prusa MK3S, Octopi 1.0
Linux octopi 6.6.45-v7l+ #1791 SMP Tue Aug 13 12:49:04 BST 2024 armv7l
$ pip install Babel>=2.16
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.
Babel from https://www.piwheels.org/simple/babel/babel-2.17.0-py3-none-any.whl#sha256=d2622d411b5e7f8f2c0909f58413d61a1dd0c6e984563f70bb83c48a1099b2c7:
Expected sha256 d2622d411b5e7f8f2c0909f58413d61a1dd0c6e984563f70bb83c48a1099b2c7
Got f33399fc5d5bc7e97abee38a192e601f38c35a7f7944eda2fe3e53613be8e2b1
similar issue. difference between the two are the versions of babel used for the different versions of python. I actually appreciate him sharing this information here in case someone else finds it like he did when we were trying to work this out in Discord and Gina's suggestion on the issue they posted. the hash mismatch issue can be a combination of issues, failed download by pip related to network issues, so disabling pihole could have just been a coincidence in resolving the problem. Another possibility is issues with piwheels.
for reference, python 3.8+ uses babel version 2.16 and python 3.7 uses babel 3.14. so in case someone else finds this issue with this error attempt the manual download of the wheel and install that one with these commands.