On Mon, Apr 27, 2009 at 10:40 AM, bconnors <[email protected]> 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 co http://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 co http://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-development-version 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

