[MacPorts] #31799: py25-distribute fails setup: "ImportError: No module named _md5"

MacPorts noreply at macports.org
Thu Oct 27 06:45:31 PDT 2011


#31799: py25-distribute fails setup: "ImportError: No module named _md5"
----------------------------------+-----------------------------------------
 Reporter:  gunnlaugur@…          |       Owner:  jwa@…                   
     Type:  defect                |      Status:  new                     
 Priority:  Normal                |   Milestone:                          
Component:  ports                 |     Version:  2.0.3                   
 Keywords:                        |        Port:  python25 py25-distribute
----------------------------------+-----------------------------------------

Comment(by gunnlaugur@…):

 Nope:
 {{{
 >>> import hashlib
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
 line 136, in <module>
     sha256 = __get_builtin_constructor('sha256')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
 line 63, in __get_builtin_constructor
     import _sha256
 ImportError: No module named _md5
 }}}

 That `~/Library/Python/2.5/site-
 packages/Cython-0.11.1-py2.5-macosx-10.5-i386.egg` bit in the install log
 ... that's the `site-packages` from an old non-macports Python
 installation on my machine, and I would have thought it shouldn't be
 touched by the macports one. Am I wrong, or is there a need to go
 troubleshoot why this `site-packages` was referenced?

-- 
Ticket URL: <https://trac.macports.org/ticket/31799#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list