[Biopython] Moving from Bio.PubMed to Bio.Entrez

Peter biopython at maubp.freeserve.co.uk
Sat Jul 18 07:40:36 EDT 2009


On Fri, Jul 17, 2009 at 10:58 AM, Martin
MOKREJŠ<mmokrejs at ribosome.natur.cuni.cz> wrote:
> Hi Peter and others,
>  finally am moving my code from Bio.PubMed to Bio.Entrez. I think I have something
> wrong with my installation biopython-1.49:
>
> ...
>>>> _handle = Entrez.efetch(db="pubmed", id=10851087, retmode="XML")
>>>> _records = Entrez.read(_handle)
> ...
> IOError: [Errno 2] No such file or directory: 'nlmmedline_090101.dtd'

The NCBI added some new DTD files in Jan 2009, there are not included
with Biopython 1.49, but are in 1.51b which is why this error went away
when you upgraded.

Peter



More information about the Biopython mailing list