No RHEL 6.6, instalei o Python 3.5.1 a partir da fonte. Estou tentando instalar o pip3 via get-pip.py, mas recebo
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
Funciona para o Python 2.6.6 instalado. Procurei respostas on-line, mas não consigo encontrar nenhuma que funcione para mim.
editar: 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.
zlib
pacote.
python3 get-pip.py
para mostrar a mensagem de erro acima, mas funciona python get-pip.py
. Sim, eu posso correr yum search zlib
.