zipimport.ZipImportError
See original GitHub issueWhen I run the command “python get-pip.py”,It alerts that as below:
Traceback (most recent call last):
File "../get-pip.py", line 17474, in <module>
main()
File "../get-pip.py", line 17466, in main
bootstrap(tmpdir=tmpdir)
File "../get-pip.py", line 17406, in bootstrap
import pip
zipimport.ZipImportError: can't decompress data; zlib not available
How to do that?Thank you!
Issue Analytics
- State:
- Created 9 years ago
- Comments:24 (7 by maintainers)
Top Results From Across the Web
zipimport.ZipImportError: can't decompress data; zlib not ...
Ubuntu 16.10+ and Python 3.7 dev sudo apt-get install zlib1g-dev. Note: I only put this here because it was the top search result...
Read more >Can't fix "zipimport.ZipImportError: can't decompress data; zlib ...
Here is when the damn "zipimport.ZipImportError: can't decompress data; zlib not available" goes in. I've tried a ton of things and no one ......
Read more >How to solve zipimport.ZipImportError: can't decompress data
When I pass the final command, sudo make install, it shows "zipimport.ZipImportError: can't decompress data; zlib not available."
Read more >[Solved][Linux] Python Installation Error: zipimport.ZipImportError
Today when I installing a specific Python version on Linux, I encountered the following error message: "zipimport.ZipImportError: can't ...
Read more >zipimport — Import modules from Zip archives ... - Python Docs
Source code: Lib/zipimport.py This module adds the ability to import ... ZipImportError is raised if archivepath doesn't point to a valid ZIP archive....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
1.Install the zlib the newest version 2.Then complie python again and run a line ./configure --prefix=/root/Python-2.7.8 --with-zlib-dir=/usr/local/lib
Thank you, I have made it!