Python

Install Python 2.5 on CentOS/4

If you need more recent version of python on CentOS, you have to install it yourself. Do not override the default /usr/bin/python.

 

Download the latest python 2.5 from http://www.python.org/ftp/python.

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

 

tar zxf Python-2.5.6.tgz 
cd Python-2.5.6
./configure --prefix=/opt
make
make install

Install and Setup Pylons on Gentoo

Prerequisite

Python

# emerge -pv python

dev-python/ctypes

Make sure you have this package dev-python/ctypes installed:

# emerge -pv dev-python/ctypes

If this package is missing, you will get an error message when starting paste:

[paste.httpserver.ThreadPool] Cannot use kill_thread_limit as ctypes/killthread is not available

easy_install

# wget http://peak.telecommunity.com/dist/ez_setup.py

Install Pylons

Login as sudo. Then do the following:

# python ez_setup.py Pylons==0.9.6.1