#19461: py26-xml: ImportError: No module named _md5 -------------------------------------+-------------------------------------- Reporter: akim.demaille@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py26-xml -------------------------------------+-------------------------------------- Hi, This error was already reported in other contexts for Python 2.5, and people were told to install py25-hashlib. But there is no such thing for py26. {{{ #!python akim@montero ~/src/kernel $ python2.6 2 14:10:08 Python 2.6.1 (r261:67515, Apr 2 2009, 14:20:17) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from xml.sax import saxexts, saxlib, saxutils Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/_xmlplus/sax/saxutils.py", line 8, in <module> import os, urlparse, urllib2, types File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 91, in <module> import hashlib File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 136, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5
}}}
-- Ticket URL: <http://trac.macports.org/ticket/19461> MacPorts <http://www.macports.org/> Ports system for Mac OS