New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17470 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

py25-biopython should depend on py25-hashlib

Reported by: sillyfox@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: py25-biopython

Description

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.

Change History

Changed 3 years ago by macsforever2000@…

  • priority changed from Low to Normal
  • owner changed from macports-tickets@… to mww@…
  • port set to py25-biopython

Assigning to maintainer.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 3 years ago by blb@…

  • status changed from new to closed
  • resolution set to fixed

python25 2.5.4_5 now integrates hashlib (and others) instead of being split-out to py25-hashlib (see ticket #12369).

Note: See TracTickets for help on using tickets.