No module named functools

functools is beschikbaar vanaf Python 2.5, om de huidige verie van Python op te vragen:

python -V

Python 2.4.3

Downloaden
wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
Uitpakken
tar fxz Python-2.5.2.tgz
Installeren
cd Python-2.5.2
./configure
make
make install

Opmerking

Er zijn nu twee versies van python geïnstalleerd.

Om te controleren waar welke versie is te vinden:

which python2.4

/usr/bin/python2.4

which python2.5

/usr/local/bin/python2.5