Skip to content

[Solved][Linux] Python Installation Error: zipimport.ZipImportError: can’t decompress data

Today when I installing a specific Python version on Linux, I encountered the following error message:

zipimport.ZipImportError: can't decompress data


After searching on the Internet, I know it because to lack of zlib dependencies.


Solution

The dependencies lack problem it very easy to solve in Linux system, just install the dependencies that you lacked.

sudo apt install zlib*


After installation, you can try make && make install command again.


References


Read More

Leave a ReplyCancel reply

Click to Copy
Exit mobile version