I\'m trying to install new python environment on my shared hosting. I follow the steps written in this post:
mkdir ~/src
wget http://www.python.org/ftp/pytho
Get someone with access to the root account on that server to run sudo apt-get install build-essential. If you don't know who has root access, contact the support team for your shared hosting and ask them.
Edit: If you aren't allowed access to root, you aren't ever going to get it working. You'll have to change hosting provider I'm afraid.