ImportError: No module named trac

When working with a new Trac installation you can bump into the error message “ImportError: No module named trac”. This is usually caused by Trac installation not unzipping all the needed files.

The following one liner should fix the issue:

1
cd /usr/lib/python2.4/site-packages;unzip Trac-0.12.2-py2.4.egg