With my ubuntu I can’t type @ So I can’t do : export PYTHONPATH=/path/to/your/django/checkout to the directory I was using which was pubu...@pubuntu:~/djsite/mysite$
so I thought I’d use /usr/share/bob because it has no @ but that doesn’t work either: + svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk svn: Working copy 'django-trunk' locked svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) r...@pubuntu:/usr/share/bob# svn cleanup svn: '.' is not a working copy directory is there any directory without a @ that I can use? On Apr 27, 12:32 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Mon, Apr 27, 2009 at 10:40 AM, bconnors <bob.conn...@wdc.usda.gov> wrote: > > [snip stuff related to removing old Django level] > > I found that my site/packages is in /usr/lib/python2.5/site-packages > > and in that directory I did > > pubu...@pubuntu:~/djsite/mysite$ cat dj > > svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk > > > so in /usr/lib/python2.5/site-packages the django is 10638 > > > I’m working in pubu...@pubuntu:~/djsite/mysite$ cat dj > > svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk > > Checked out revision 10638. > > I cannot understand what you are saying you did here. You show two checkout > commands (except you are cat-ing a file that apparently contains the > checkout command, not actually running the checkout, so far as I can see) > and say you did one in your site-packages directory but the one that shows > the "Checked out" message appears to have been issued from ~/djsite/mysite, > not your Python's site-packages directory. > > In fact it isn't recommended that you do an svn checkout directly into > site-packages. Step 3 of the documentation here: > > http://docs.djangoproject.com/en/dev/topics/install/#installing-devel... > > recommends creating a symbolic link in site-packages pointing to wherever > you put your svn checkout. Have you tried following those instructions? > > > > > Why do I get an error when I do: > > pubu...@pubuntu:~/djsite/mysite$ python manage.py runserver > > Traceback (most recent call last): > > File "manage.py", line 2, in <module> > > from django.core.management import execute_manager > > ImportError: No module named django.core.management > > pubu...@pubuntu:~/djsite/mysite$ > > Whatever you have done has not resulted in there being a 'django' directory > tree in your Python's site-packages directory. Possibly you have a > 'django-trunk' directory tree there, if indeed you did a checkout directly > into site-packages but as I said above I'm not really sure what you did. > Following the instructions, exactly, on the page I pointed to above, would > really be your best bet. > > Karen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---