On RHEL 6.6, I installed Python 3.5.1 from source. I am trying to install pip3 via get-pip.py, but I get
Traceback (most recent call last): File "get-pip.py", line 19177, in <module> main() File "get-pip.py", line 194, in main bootstrap(tmpdir=tmpdir) File "get-pip.py", line 82, in bootstrap import pip zipimport.ZipImportError: can't decompress data; zlib not available
It works for the Python 2.6.6 installed. I have looked online for answers, but I cannot seem to find any that works for me.
yum search zlib
jzlib.i686 : JZlib re-implementation of zlib in pure Java perl-Compress-Raw-Zlib.i686 : Low-Level Interface to the zlib compression library perl-Compress-Zlib.i686 : A module providing Perl interfaces to the zlib compression library perl-IO-Zlib.i686 : Perl IO:: style interface to Compress::Zlib zlib.i686 : The zlib compression and decompression library zlib-debuginfo.i686 : Debug information for package zlib zlib-devel.i686 : Header files and libraries for Zlib development perl-IO-Compress-Zlib.i686 : Perl interface to allow reading and writing of gzip and zip data Name and summary matches only, use "search all" for everything.
python3 get-pip.pyto show the error message above, but it works for
python get-pip.py. Yes, I can run
yum search zlib.