Your python is compiled without md5. Maybe your system misses some libraries and you have to re-compile the python.
On Wed, 15 Sep 2010 11:03:40 +0800 ch huang <justlo...@gmail.com> wrote: > i have a big problem,here is > and any can help me? > > Python 2.6.5 (r265:79063, Apr 1 2010, 05:22:20) > [GCC 4.4.3 20100316 (prerelease)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import hashlib > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.6/hashlib.py", line 136, in <module> > md5 = __get_builtin_constructor('md5') > File "/usr/lib/python2.6/hashlib.py", line 63, in > __get_builtin_constructor > import _md5 > ImportError: No module named _md5 > -- http://mail.python.org/mailman/listinfo/python-list