在运行中科院软件所刘老师的代码时出现的小bug,感谢!
问题:AttributeError: module ‘ahocorasick’ has no attribute ‘Automaton’
原因:导入了ahocorasick-python这个包,把他删了,然后再重新导入pyshocorasick
源代码
AttributeError: module 'ahocorasick' has no attribute 'Automaton'解决
最新推荐文章于 2022-10-22 17:00:24 发布