1
我试图测试biopython的我的Mac上安装和使用这个命令:biopython安装测试失败:ERROR:test_fetch_xml_schemas(test_Entrez_online.EntrezOnlineCase)
$ sudo python3 setup.py test
一切都只是此错误消息罚款:
ERROR: test_fetch_xml_schemas (test_Entrez_online.EntrezOnlineCase)
Traceback (most recent call last):
File "/Users/zhouyang/biopython/Tests/test_Entrez_online.py", line 205, in test_fetch_xml_schemas
records = list(Entrez.parse(handle))
File "/Users/zhouyang/biopython/build/lib.macosx-10.6-intel-3.5/Bio/Entrez/Parser.py", line 267, in parse
raise CorruptedXMLError("Premature end of XML stream")
Bio.Entrez.Parser.CorruptedXMLError: Failed to parse the XML data (Premature end of XML stream). Please make sure that the input data are not corrupted.
此外,在测试过程中,这些结果显示test_Entrez.online失败。
test_Entrez ... ok
test_Entrez_online ... FAIL
test_Entrez_parser ... ok
test_Enzyme ... ok
我使用的是OS X EI Capitan的10.11.6在Mac上,我有蟒蛇2.7和3.5.2安装和安装biopython和相关包时运行python3。
任何想法发生了什么问题?