nldoty / PottyMouthBot

6 stars 4 forks source link

ModuleNotFoundError: No module named 'trie.Trie' #1

Open LeehamElectronics opened 3 years ago

LeehamElectronics commented 3 years ago

Hi, I have tried installing trie in my package manager, however I still get this error: ModuleNotFoundError: No module named 'trie.Trie'

When I change from trie.Trie import Trie to from trie import Trie I get this error instead:

Traceback (most recent call last):
  File "C:/Users/liamd/Desktop/SoftDev/skynet bots/main bot/main.py", line 97, in <module>
    trie = Trie()
  File "C:\Users\liamd\Desktop\SoftDev\skynet bots\main bot\venv\lib\site-packages\trie\__init__.py", line 19, in __init__
    super().__init__(*args, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'db'

Thanks for your help!!!

LeehamElectronics commented 3 years ago

Anyone?