在使用ahocorasick.Automaton()时,总是提示AttributeError: module 'ahocorasick' has no attribute 'Automaton'
原本安装的模块是ahocorasick-python,而ahocorasick.Automaton()用的是pyahocorasick
安装pyahocorasick,pip install pyahocorasick,安装后运行还是有这个错误,需要卸载ahocorasick-python