[root@mingus mysite]# python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/core/management.py",
line 1319, in execute_manager
execute_from_command_line(action_mapping, argv)
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/core/management.py",
line 1271, in execute_from_command_line
action_mapping[action](addr, port, options.use_reloader)
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/core/management.py",
line 1029, in runserver
from django.core.handlers.wsgi import WSGIHandler
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/core/handlers/wsgi.py",
line 1, in <module>
from django.core.handlers.base import BaseHandler
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/core/handlers/base.py",
line 3, in <module>
from django import http
File
"/usr/local/lib/python2.5/site-packages/Django-0.95.4-py2.5.egg/django/http/__init__.py",
line 2, in <module>
from Cookie import SimpleCookie
ImportError: cannot import name SimpleCookie
This also results when I Django-1.0. Any help would be greatly appreciated.
Wayne
It sounds like your python installation is broken. What about when you
fire up a plain python shell and type:
>>> from Cookie import SimpleCookie
Cookie is a bundled module in the standard library for python 2.5 (and 2.4)
Regards,
--
Christian Joergensen
http://www.technobabble.dk