Install newer python version

12 May, 2014 (14:19) | Python, shell | By: sblogadmin

Depending upon your server OS, you may find the Python version to be out-of-date. This is often due to the OS relying on a particular version for system scripts, etc.

 

On some servers we have installed additional python versions and named them python3, python2, etc. If your server does not have these you can request and install or you can make a private python install to your shell account.

 

It is quick and easy to install your own python version to your shared hosting shell account.

 

1. Download python (change this to the version you need)

 

wget https://www.python.org/ftp/python/3.4.0/Python-3.4.0.tgz

 

2. configure to use your local dirs:

 

./configure --prefix=$HOME/python

make

make install






Write a comment