我试图在Snow Leopard Server下设置Trac环境。 我现在在apache部分失败。
在Apache的error_log是错误
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
我怎样才能解决这个问题?
听起来像trac库不在你的PYTHONPATH中; 如果您使用Apache进行设置,则可以将以下内容添加到您的Apacheconfiguration下的Trac Directory或Location条目下:
SetEnv PYTHONPATH /path/to/trac/install