-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib.error: Error -3 while decompressing data: invalid distance too far back #4457
Comments
Please always try to give as much logs as you can. I suspect this is not an issue with zlib itself, but a corrupted download. If you're having problems with pip as well, poetry will run into the same issue. Try something like 'poetry cache clear --all pypi' to clear your downloads and try again. |
@clintonroy I tried the
|
Can you manually unzip /Users/edwardli/Library/Caches/pypoetry/artifacts/56/eb/6a/742f1d115d9229ff778b439581e41b19dbae8121fdfff5c6290b579805/numpy-1.19.5-cp38-cp38-macosx_10_9_x86_64.whl ? Does the hash and size match what's on pypi? https://pypi.org/project/numpy/1.19.5/#files Does poetry cache clear delete it? |
Hey @clintonroy, Thanks for getting back to me on this. I can manually unzip it, but there seems to be some bad sectors. Additionally, the hash is different from pypi, the file was corrupt. This is where it gets interesting. When I try calling |
such cases should be fixed since #6186 |
Duplicate #5142. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
When trying to install some packages on my mac under a virtualenv. I keep getting :
I've tried to pip install the package manually to get by it but that only works sometimes. Now this has really become a blocker for me as I an unable to update my dependencies as I run into this error every time. I've tried brew reinstalling zlib and other zlib deps to no avail.
The text was updated successfully, but these errors were encountered: