To start, I’m not an AIX expert. I’m just a hobbiest that wanted to get a python/django/apache/mysql (db2 down the road) environment work in AIX.
Installing python:

Download and compile the latest python source.

# cd ~/

# wget http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tgz

# gunzip Python-2.6.4.tgz

# tar -xvf Python-2.6.4.tgz

# cd Python-2.6.4

# export PATH=/usr/bin:/usr/vacpp/bin

for 32bit:

# ./configure
for 64bit:

# ./configure —with-gcc=”xlc_r -q64” —with-cxx=”xlC_r -q64” —disable-ipv6 AR=”ar -X64”
# make

# su

# make install
If no problems crept up, the python executable should be available here:

/usr/local/bin/python
The apache installation to next to come!