I did : apt-get remove python-django then pubu...@pubuntu:~/djsite/mysite$ sh -x lk1 pubu...@pubuntu:~/djsite/mysite$ dpkg -l python-django Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/ T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============- ============================================ rc python-django 0.96.1-2ubuntu A high-level Python Web framework pubu...@pubuntu:~/djsite/mysite$
then pubu...@pubuntu:~/djsite/mysite$ cd /usr/share/python-support/python- django -bash: cd: /usr/share/python-support/python-django: No such file or directory pubu...@pubuntu:~/djsite/mysite$ so /usr/share/python-support/python-django As a result of pubu...@pubuntu:~/djsite/mysite$ sh -x w + python -c from distutils.sysconfig import get_python_lib; print get_python_lib (); /usr/lib/python2.5/site-packages pubu...@pubuntu:~/djsite/mysite$ 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. 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$ On Apr 24, 3:22 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Fri, Apr 24, 2009 at 1:43 PM, bconnors <bob.conn...@wdc.usda.gov> wrote: > > > i eliminated the field in Poll question = models.CharField > > (max_length=200) and Choice choice = models.CharField(max_length=200) > > and the error went away > > Sure, but eliminating use of CharFields (plus, as you hit errors, every > other thing that has changed between 0.96 and 1.0) is not a viable long-term > strategy. Really, if you want to make progress, uninstall the 0.96 level > and install 1.0.2 or set your python path to point to your checkout, or > "install" your checkout by creating a symbolic link in site-packages. > Instructions for all of these steps have been given in previous responses in > this thread. > > 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 -~----------~----~----~----~------~----~------~--~---