Su RHEL 6.6, ho installato Python 3.5.1 dal sorgente. Sto cercando di installare pip3 tramite get-pip.py, ma ottengo
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
Funziona con Python 2.6.6 installato. Ho cercato online le risposte, ma non riesco a trovare quello che funzioni per me.
modificare: 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
pacchetto.
python3 get-pip.py
per mostrare il messaggio di errore sopra, ma funziona per python get-pip.py
. Sì, posso correre yum search zlib
.