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

3 thoughts on “ImportError: No module named trac

  1. Looked for this everywhere. At of all the places, this is the only place that explains this error and how to fix it.