0

I tried importing the file 'Bio' from the Biopython module to use the seqIO file.

from Bio import SeqIO
with open("uniprot.fa", "rt") as handle:
    for record in SeqIO.parse(handle, "fasta"):
        print(record.id)

the output showed an error:

Then I changed the path as advised

and the output showed another error

I'm confused plz help.

PS:I tried uninstalling and installing it again through pip and through zip file and I'm still facing this issue.

merv
  • 67,214
  • 13
  • 180
  • 245

0 Answers0