ML-AttributeError: ‘BioCAnnotation‘ object has no attribute ‘get_total_location‘解决 文章目录 1. 解决 1. 解决 简单来说,就是在现在版本的negbio这个库里面,貌似是已经没有get_total_location这个函数了,你可以使用total.span来代替它,注意是没有括号的哦! 也就是这样 location = ann.get_total_location() 改为 location = ann.total_span