y",
> line 77, in
> connection = connections[DEFAULT_DB_ALIAS]
> File "/usr/local/lib/python2.6/dist-packages/django/db/utils.py",
> line 91, in __getitem__
> backend = load_backend(db['ENGINE'])
> File "/usr/local/lib/python2.6/dist-packages/
ib/python2.6/dist-packages/django/db/__init__.py", line
> 77, in
> connection = connections[DEFAULT_DB_ALIAS]
> File "/usr/local/lib/python2.6/dist-packages/django/db/utils.py", line
> 91, in __getitem__
> backend = load_backend(db['ENGINE'])
> File "/us
jango/db/utils.py", line 91,
in __getitem__
backend = load_backend(db['ENGINE'])
File "/usr/local/lib/python2.6/dist-packages/django/db/utils.py", line 49,
in load_backend
raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured:
'django
django.core.exceptions.ImproperlyConfigured:
'django.db.backends.postgresql_psycopg2' isn't an available database
backend.
Try using django.db.backends.XXX, where XXX is one of:
'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2'
ython2.6/dist-packages/django/db/utils.py",
line 49, in load_backend
raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured:
'django.db.backends.postgresql_psycopg2' isn't an available database
backend.
Try using django.db.backends.XXX, where XXX is
which python returns /opt/local/Library/Frameworks/Python.framework/
Versions/2.6/bin/python
I didn't install python 2.6.6, at least to my knowledge. Django
doesn't automatically load it does it? I have not explicitly loaded
Python myself. The first time I checked was after loading django I
jus
How did you install 2.6.6, and what does "which python" give you?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+uns
When I did the
> python manage.py runserver
step it gave me the error:
Error was: No module named _md5
I did some searching and saw that in 2007 people had this problem and
indicated that md5 was no longer used but hashlib was needed. I
figured that by 2010 this problem had been resolved, but I
e 133, in
> md5 = __get_builtin_constructor('md5')
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
> lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
> import _md5
> ImportError: No module named _md5
>
> Thanks f
Python.framework/Versions/2.5/
lib/python2.5/hashlib.py", line 133, in
md5 = __get_builtin_constructor('md5')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
On Jul 13, 4:55 am, e-gor <[EMAIL PROTECTED]> wrote:
> # ldd _hashlib.so
> _hashlib.so:
> ldd: _hashlib.so: Shared object "_hashlib.so" not found, required by
> "ldd"
> _hashlib.so: exit status 1
>
> So it's mean that _hashlib.so can't be loaded because it can't find
> itself? It's strange
>
> fil
Python 2.5.1 (r251:54863, Jun 28 2007, 13:12:40)
> > [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
> > Type "help", "copyright", "credits" or "license" for more information.>>>
> > import md5
> > >>> import _md5
>
uot;license" for more information.>>>
> import md5
> >>> import _md5
>
> Traceback (most recent call last):
> File "", line 1, in
> ImportError: No module named _md5
>
> >>> import hashlib
> >>> import _hashlib
>
t _md5
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named _md5
>>> import hashlib
>>> import _hashlib
so i have error when importing _md5 and have no erroro when importing
md5. What it mean? :)
On Jul 7, 2:40 pm, Graham Dumpleton <[EMAI
py", line 145, in __call__
> > > self.load_middleware()
>
> > > File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
> > > base.py", line 31, in load_middleware
> > > raise exceptions.ImproperlyConfigured, 'Error importing m
/core/handlers/
> > base.py", line 31, in load_middleware
> > raise exceptions.ImproperlyConfigured, 'Error importing middleware
> > %s: "%s"' % (mw_module, e)
>
> > ImproperlyConfigured: Error importing middleware
> > django.middlewar
31, in load_middleware
> raise exceptions.ImproperlyConfigured, 'Error importing middleware
> %s: "%s"' % (mw_module, e)
>
> ImproperlyConfigured: Error importing middleware
> django.middleware.common: "No module named _md5"
>
> When i write
>> setting.py file's middleware setting part.
>>
>> - Original Message -
>> From: "e-gor" <[EMAIL PROTECTED]>
>> To: "Django users"
>> Sent: Friday, July 06, 2007 2:59 AM
>> Subject: No module named _md5
>>
>&g
ting part.
>
> - Original Message -
> From: "e-gor" <[EMAIL PROTECTED]>
> To: "Django users"
> Sent: Friday, July 06, 2007 2:59 AM
> Subject: No module named _md5
>
> > I have python 2.5.1, django report errors:
>
> > Mod_
It' seems that the md5 is not a middleware, but you have write it in the
setting.py file's middleware setting part.
- Original Message -
From: "e-gor" <[EMAIL PROTECTED]>
To: "Django users"
Sent: Friday, July 06, 2007 2:59 AM
Subject: No module name
local/lib/python2.5/site-packages/django/core/handlers/
base.py", line 31, in load_middleware
raise exceptions.ImproperlyConfigured, 'Error importing middleware
%s: "%s"' % (mw_module, e)
ImproperlyConfigured: Error importing middleware
django.middleware.common: "
PROTECTED]> wrote:
> Just updated Django to latest version. I'm running it on a Mac Book
> Pro with Python 2.5.1 from the MacPorts packaging system. When I run
> 'python manage.py runserver', I get the following error:
>
> ImportError: No module named _md5
>
> I
Just updated Django to latest version. I'm running it on a Mac Book
Pro with Python 2.5.1 from the MacPorts packaging system. When I run
'python manage.py runserver', I get the following error:
ImportError: No module named _md5
I have a feeling this may be more of a python prob
23 matches
Mail list logo