question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

zipimport.ZipImportError

See original GitHub issue

When 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:closed
  • Created 9 years ago
  • Comments:24 (7 by maintainers)

github_iconTop GitHub Comments

27reactions
andy15703166commented, Jul 10, 2014

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

12reactions
andy15703166commented, Jul 10, 2014

Thank you, I have made it!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found