[MacPorts] #17470: py25-biopython should depend on py25-hashlib

MacPorts noreply at macports.org
Mon Dec 1 09:43:02 PST 2008


#17470: py25-biopython should depend on py25-hashlib
--------------------------------+-------------------------------------------
 Reporter:  sillyfox@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Low                 |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 while installing py25-biopython, i ran into the following error:

 {{{
   File "/private/tmp/foo.py", line 14, in <module>
     from Bio.PDB.StructureBuilder import *
   File "/opt/local/lib/python2.5/site-packages/Bio/PDB/__init__.py", line
 31, in <module>
     from Polypeptide import PPBuilder, CaPPBuilder, is_aa,
 standard_aa_names
   File "/opt/local/lib/python2.5/site-packages/Bio/PDB/Polypeptide.py",
 line 11, in <module>
     from Bio.SCOP.Raf import to_one_letter_code
   File "/opt/local/lib/python2.5/site-packages/Bio/SCOP/__init__.py", line
 47, in <module>
     from Bio import SeqIO
   File "/opt/local/lib/python2.5/site-packages/Bio/SeqIO/__init__.py",
 line 152, in <module>
     import InsdcIO #EMBL and GenBank
   File "/opt/local/lib/python2.5/site-packages/Bio/SeqIO/InsdcIO.py", line
 7, in <module>
     from Bio.GenBank.Scanner import GenBankScanner, EmblScanner
   File "/opt/local/lib/python2.5/site-packages/Bio/GenBank/__init__.py",
 line 53, in <module>
     from Bio.EUtils import DBIds, DBIdsClient
   File "/opt/local/lib/python2.5/site-packages/Bio/EUtils/DBIdsClient.py",
 line 86, in <module>
     import parse, Mixins, Config, ThinClient, Datatypes
   File "/opt/local/lib/python2.5/site-packages/Bio/EUtils/ThinClient.py",
 line 531, in <module>
     import urllib, urllib2, cStringIO
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py",
 line 91, in <module>
     import hashlib
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
 line 133, in <module>
     md5 = __get_builtin_constructor('md5')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py",
 line 60, in __get_builtin_constructor
     import _md5
 ImportError: No module named _md5
 }}}

 installing py25-hashlib solved the problem.

-- 
Ticket URL: <http://trac.macports.org/ticket/17470>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list