Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to setup a trac environment under Snow Leopard Server. I am now failing on the apache part.

In the apache error_log is the error

Oops...

Trac detected an internal error:

No module named trac.web

Traceback (most recent call last):
  File "/Library/WebServer/CGI-Executables/trac.fcgi", line 31, in <module>
    from trac.web import fcgi_frontend
ImportError: No module named trac.web

How can I fix this?

share|improve this question

1 Answer 1

It sounds like the trac library isn't in your PYTHONPATH; if you're setting this up using Apache, you can add the following to your Apache config, under the Directory or Location entry for trac:

SetEnv PYTHONPATH /path/to/trac/install
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.