"No module named _md5" error in Python 2.5

Silvio Domini silvio.domini at gmail.com
Thu Mar 8 02:14:59 PST 2007

I have tried to install the latest setuptools for Python 2.5
by using the script  ez_setup.py from PEAK's website
but the script aborts with the error:

File "/opt/local/lib/python2.5/hashlib.py", line 31, in
    import _md5
ImportError: No module named _md5

With the official Python 2.5 distribution such an error
doesn't occur and the command "from hashlib import md5"
works flawlessly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070308/e82ae64c/attachment.html

More information about the macports-users mailing list