Hi Luke,

Thanks for the reply.

> The fundamental problem is probably this line:
> Could not load database backend: cannot import name ImmutableSet.
>
> I'm guessing that your PYTHONPATH isn't set up correctly, but I can't be
> sure.  It's a good place to start looking.  If it is, then you need to
> track down what it trying to import ImmutableSet, and why it is failing
> (possibly something inside MySQLdb?).  Trying the same commands from an
> interactive Python prompt is often a good way to do testing.

Ok after figuring out how perform the commands from the interctive
prompt (this is my first experience with python) I was able to narrow
down a possible problem. The following seemed to import correctly:
import manage
import settings

When I tried "import urls" It returned:
>>> import urls
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "urls.py", line 1, in ?
    from django.conf.urls.defaults import *
  File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/conf/urls/defaults.py",
line 1, in ?
    from django.core.urlresolvers import RegexURLPattern, RegexURLResolver
  File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/urlresolvers.py",
line 10, in ?
    from django.core.exceptions import Http404, ImproperlyConfigured,
ViewDoesNotExist
  File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/exceptions.py",
line 3, in ?
    from django.core.template import SilentVariableFailure
  File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/template/__init__.py",
line 60, in ?
    from django.conf.settings import DEFAULT_CHARSET, TEMPLATE_DEBUG
  File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/conf/settings.py",
line 29, in ?
    raise EnvironmentError, "Environment variable %s is undefined." %
ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.

Here is the confusing part... I tried "import urls" again and it did
not return any errors.

> Also, does MySQLdb have any dependencies that you don't have installed?

I am not sure how to check for this. During the install it seemed to
work but I need to poke around and figure out how check for
dependencies. When I figure out how to do that I will report back.

Thanks again for all of your help with this. I really appreciate it!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to