ImportError: No module named trac.web.modpython_frontend |SOLVED

erlang and dependencies

Question : How  to   solve  error

ImportError: No module named trac.web.modpython_frontend

Answer:

You are getting this error because  apache may not be able to create the Python egg cache or maybe you have to give apache rights to your Apache directory. Please add this lines to apache config file :

.

SetHandler mod_python
 PythonInterpreter main_interpreter
 PythonHandler trac.web.modpython_frontend
 PythonOption TracEnvParentDir /path/to/trac
 PythonOption TracUriRoot /
 PythonOption  PYTHON_EGG_CACHE /path/to/diectory/you/created

If  you still get  the same  error that means   your Trac installation is not more  available or  you are still using old  Trac mode_python libraries
Please  install  them again with

easy_install -U Trac

Restart apache.
Done.