This bash script downloads, builds and installs a particular version of python in the location of your choice without requiring root permissions. It also creates a virtual environment that you can activate to use it. It is licensed under the terms of MIT open source license.
This script is also available on github: https://github.com/jlinoff/pybld.git
Continue reading Bash script to install python locally without root permissions