iceman42 wrote: > I am trying to setup a new environment using trac-admin. > > [EMAIL PROTECTED] ~]# python /usr/local/trac/bin/trac-admin > /usr/local/trac/name initenv > > I've googled, check the faqs, check the archives and nothing that will > help me. I have trac in the PYTHONPATH > > PYTHONPATH=/usr/lib/python2.4:/usr/lib/python2.4/site-packages:/usr/local/trac/bin > > And I have done trac.pth files with only /usr/local/trac/bin in the > file.
The PYTHONPATH should contain a list of folders with Python "modules", not the executable scripts (which would go on the PATH). So, including /usr/local/trac/bin will have no effect. Based on your prefix the Trac modules should be installed under /usr/local/trac/lib/python2.4/site-packages, so that's what you should put on the PYTHONPATH (or in a .pth file). -- Matt Good --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
