On 01 Feb 08:00, bobhaugen wrote: > > Thanks again, Brett. > > On Feb 1, 7:45 am, Brett Parker <[EMAIL PROTECTED]> wrote: > > If you're just wanting to run the latest trunk then you can just use an > > svn checkout and add that in to PYTHONPATH on the command line (you > > might also want to add <checkout>/bin to your PATH to get > > django-admin.py there). > > I appended django-trunk and django-trunk/django/bin to sys,path in the > Python interpreter and I can now import django with no errors. > > I did a bunch of googling for PYTHONPATH but am still confused about > how to add things to it. Clues welcome, but if I just go trial and > error am I likely to cause any damage?
PYTHONPATH is just an environmental variable, often if you're not already using it it'll be empty ;) You can check it's current value with: echo $PYTHONPATH If it's empty then you can just do: export PYTHONPATH=/path/to/django/trunk/checkout Otherwise: export PYTHONPATH=$PYTHONPATH:/path/to/django/trunk/checkout That should give you enough to be able to run the development server etc... For apache2 and mod_python you can just add it in the PythonPath. Hope that helps, -- Brett Parker --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---