[mod_python] No module named _md5

Andrew Wilkinson andrewjwilkinson at gmail.com
Tue Oct 10 11:36:44 EDT 2006


Hi,

I recently upgraded to Python 2.5 but since then my mod_python application
has stopped worked. I recieve the following error:

Mod_python error: "PythonHandler handler"
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 287, in
HandlerDispatch
    log=debug)
  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 464, in
import_module
    module = imp.load_module(mname, f, p, d)
  File "/var/www/indiegigs/src/handler.py", line 9, in
    from pages.login import check_cookie
  File "/var/www/indiegigs/src/pages/login.py", line 8, in
    from hashlib import md5
  File "/usr/lib64/python2.5/hashlib.py", line 104, in
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib64/python2.5/hashlib.py", line 31, in
__get_builtin_constructor
    import _md5
ImportError: No module named _md5

Does anyone know the solution to my problem?

Regards,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061010/a94f95cc/attachment-0001.html


More information about the Mod_python mailing list