||
邪门了,照着参考书上抄代码来运行都报错,这还有天理吗?
>>> from Bio import Entrez
>>> handle=Entrez.einfo()
>>> record=Entrez.read(handle)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/Bio/Entrez/__init__.py", line 372, in read
record = handler.read(handle)
File "/usr/local/lib/python2.7/dist-packages/Bio/Entrez/Parser.py", line 197, in read
raise NotXMLError(e)
Bio.Entrez.Parser.NotXMLError: Failed to parse the XML data (syntax error: line 4, column 0). Please make sure that the input data are in XML format.
>>>
这东东看来还不是那么好玩的。求高人指点迷津。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-5-12 19:37
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社