[Biopython] Problems Installing: Can't find modules Seq and Alphabet plus many others

Obukowicz, Dennis R. drobukow at UTMB.EDU
Tue Feb 7 11:01:21 EST 2012


I solved some of my earlier problems with adjusting the path with the sys.path.append, adding directories where packages are located. However, now I keep getting this error below. I've searched for this error but can't find any mention of it. Can anyone help?

ERROR: Bio.Wise
----------------------------------------------------------------------
Traceback (most recent call last):
  File "run_tests.py", line 327, in runTest
    module = __import__(name, None, None, name.split("."))
  File "/usr/local/biopython/biopython-1.58/build/lib.linux-x86_64-2.7/Bio/Wise/__init__.py", line 20, in <module>
    from Bio import SeqIO
  File "/usr/local/biopython/biopython-1.58/build/lib.linux-x86_64-2.7/Bio/SeqIO/__init__.py", line 308, in <module>
    import Seq
  File "/usr/local/biopython/biopython-1.58/Bio/Seq.py", line 31, in <module>
    import ambiguous_dna_complement, ambiguous_rna_complement
ImportError: No module named ambiguous_dna_complement

From: Obukowicz, Dennis R.
Sent: Tuesday, February 07, 2012 8:42 AM
To: 'biopython at lists.open-bio.org'
Subject: Problems Installing: Can't find modules Seq and Alphabet plus many others

I am new to Biopython and have tried installing Biopython according to instructions. When I run the test after installing I get  many errors, 96 errors (see below some examples) in all out of 154 test runs. Two errors that keep popping up are  not being able to find module Seq and module Alphabet.

ImportError: No module named Seq

ImportError: No module named Alphabet

NameError: name 'Seq' is not defined

NameError: name 'record' is not defined

NameError: name 'protein_rec' is not defined

NameError: name 'protein_rec' is not defined


Dennis




More information about the Biopython mailing list