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


Please shareShare on Facebook0Share on Google+1Tweet about this on Twitter6Share on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page

Question : How  to   solve  error

ImportError: No module named trac.web.modpython_frontend


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.