[MacPorts] #19461: py26-xml: ImportError: No module named _md5

MacPorts noreply at macports.org
Wed Apr 29 04:20:43 PDT 2009


#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                             
-------------------------------------+--------------------------------------

Comment(by akim.demaille@…):

 All this boils down to this, I guess:

 {{{
 #!python
 $ python2.6
 [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import md5
 __main__:1: DeprecationWarning: the md5 module is deprecated; use hashlib
 instead
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/md5.py",
 line 10, in <module>
     from hashlib import md5
   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#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list