Question: cannot import name IUPAC
0
gravatar for moran.an
4.7 years ago by
moran.an10
European Union
moran.an10 wrote:

i have this error when i'm trying to use biopython

  1. Traceback (most recent call last):
  2.   File "/usr/bin/presto/FilterSeq.py", line 18, in <module>
  3.         from Bio.Alphabet import IUPAC
  4. ImportError: : cannot import name IUPAC

and some more like this.

  1. Traceback (most recent call last):
  2.   File "/usr/bin/presto/MaskPrimers.py", line 17, in <module>
  3.     from Bio import pairwise2
  4. ImportError: cannot import name pairwise2

where is my mistake? maybe i have to install biopython in some other directory?

thank you.

i ran this commands and i had no problem:

python setup.py build
python setup.py test
sudo python setup.py install

 

ADD COMMENTlink modified 4.7 years ago • written 4.7 years ago by moran.an10
0
gravatar for moran.an
4.7 years ago by
moran.an10
European Union
moran.an10 wrote:

problem solved.

i'v changed the PYTHONPATH to the current directory of biopython.

ADD COMMENTlink written 4.7 years ago by moran.an10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1368 users visited in the last hour