I have downloaded python-3.6.1.tar.xz. then I extracted it. There is a file README.rst. this is the instruction file. and has the instruction how to install.
On Unix, Li
zipimport.ZipImportError: can't decompress data; zlib not available
You should install zlib1g-dev
and change your configure step like this:
./configure --with-zlib=/usr/include
Now, try this:
make clean
apt-get install zlib1g-dev
./configure --with-zlib=/usr/include
...
You can read more in Configure and compile Python with Zlib