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
On MacOS the issue is often that an XCode update has removed Zlib. Running the following will solve it:
xcode-select --install