pytries / datrie

Fast, efficiently stored Trie for Python. Uses libdatrie.
http://pypi.python.org/pypi/datrie/
GNU Lesser General Public License v2.1
530 stars 88 forks source link

AttributeError: module 'datrie' has no attribute 'Trie' #92

Closed dazhaxie0526 closed 3 years ago

dazhaxie0526 commented 3 years ago

python version=3.6.12 gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) linux

def run_test(): trie = datrie.Trie(string.ascii_lowercase) trie[u'foo'] = 5 trie[u'foobar'] = 10 trie.prefixes(u'foobarbaz')

when run the program, it shows AttributeError: module 'datrie' has no attribute 'Trie'