[Trac] WG: Problems running trac-admin after installation of Trac
0.8 for WindowsXP
Christopher Lenz
cmlenz at gmx.de
Tue Jan 11 07:27:56 EST 2005
Am 11.01.2005 um 10:45 schrieb Stelling Carsten:
>> I've checked the PYTHONPATH variable and didn't find any mistake.
>> I've tried
>> forward and backward slashes, but without success.
>>
>> PYTHONPATH=C:/python23/share/trac/templates;C:/python23/lib/site-
>> packages/svn;
>> C:/python23/lib/site-packages/libsvn;C:/python23/lib/site-packages/
>> trac
This looks wrong, although I'm not sure it should have an effect:
* First, the site-packages directory should be on the Python path by
default (i.e. you can omit the PYTHONPATH variable altogether)
* Second, the trac/templates directory doesn't contain python code and
thus doesn't actually need to be on the Python path.
* Third, if you actually for some reason *do* need to put the
site-packages directory on your PYTHONPATH, you put the site-packages
directory itself on the path, not the directories it contains. I.e.:
PYTHONPATH=C:/python23/lib/site-packages
Cheers,
Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de
More information about the Trac
mailing list