On Jun 4, 4:01 pm, Olemis Lang <[email protected]> wrote: > On Fri, Jun 4, 2010 at 11:52 AM, Chris <[email protected]> wrote: > > Windows 2003 Server > > > I created a python virtual environment (using --no-site-packages) and > > easy_installed Trac on it. What I'm trying to do is in Apache have an > > existing Trac install point to this virtual environment. Here's my > > configuration, can anyone tell me where I may be going wrong? > > [...] > > > PythonPath "['F:/PythonConfig/Trac11/Scripts'] + sys.path" > > Should it point to site-packages inside of this folder ?
I followed as described here: http://trac.edgewall.org/wiki/TracDev/AlternativeFrontends Where to me I understand this is as saying to use Trac in this site- package #myvirtualtrac.py import os import site site.addsitedir('F:/PythonConfig/Trac11/Lib/site-packages') from trac.web.modpython_frontend import handler > > PythonInterpreter main_interpreter > > Should you change this ? I'm not sure as I'm just following any examples I come across. On the Trac page linked above it doesn't mention so, plus I wouldn't know what it should be. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
