Installing Python Debian GNU/Linux 9.7 (stretch)

Hoje vamos instalar o Python-3.7.2 no Debian GNU/Linux 9.7 (stretch)

Dependencias
$ sudo apt-get install zlib1g-dev

Nota: com a instalação acima evita o erro abaixo
Assim evita o erro
zipimport.ZipImportError: can't decompress data; zlib not available
Makefile:1130: recipe for target 'install' failed
make: *** [install] Error 1

Download do Python
$ cd /opt
$ wget -c https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
$ sudo tar xvf Python-3.7.2.tar.xz
$ cd Python-3.7.2/
 
Instalacao do Python
$ sudo ./configure
$ sudo make
$ sudo make test
$ sudo make install

Forte abraço a todos.

Comentários

Postagens mais visitadas