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

MacPorts noreply at macports.org
Thu Oct 27 07:54:35 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@…):

 It was indeed due to the old messy `~/Library/Python/2.5/site-packages` —
 I clean-swept that directory (leaving only setuptools and the `.pth` files
 with all other packages stripped out) and now `hashlib` imports without
 problems and `py25-distribute` installs just fine.

 I'm not clear on install conventions, so not sure whether the presence of
 cruft in `~/Library/Python/2.5/site-packages` should have had this effect
 (or whether it was my bad).

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


More information about the macports-tickets mailing list