e-gor wrote: > so what should i do? :) i'm newby :) there are no md5 module > requirements in the setting.py > > On 5 июл, 22:13, "nick feng" <[EMAIL PROTECTED]> wrote: >> 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" <django-users@googlegroups.com> >> Sent: Friday, July 06, 2007 2:59 AM >> Subject: No module named _md5 >> >>> I have python 2.5.1, django report errors: >>> Mod_python error: "PythonHandler django.core.handlers.modpython" >>> Traceback (most recent call last): >>> File "/usr/local/lib/python2.5/site-packages/mod_python/apache.py", >>> line 193, in Dispatch >>> result = object(req) >>> File "/usr/local/lib/python2.5/site-packages/django/core/handlers/ >>> modpython.py", line 177, in handler >>> return ModPythonHandler()(req) >>> File "/usr/local/lib/python2.5/site-packages/django/core/handlers/ >>> modpython.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 middleware >>> %s: "%s"' % (mw_module, e) >>> ImproperlyConfigured: Error importing middleware >>> django.middleware.common: "No module named _md5" >>> When i write import md5 from python command prompt i have no errors. >
Another idea: How have you installed Python? If you were using some kind of package manager, check if there are some additional crypto-related packages in the same repository :-) - Horst --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---