YenRaven / annoy_ltm

annoy long term memory experiment for oobabooga/text-generation-webui
32 stars 3 forks source link

No module named 'annoy' #8

Closed rinaldop closed 1 year ago

rinaldop commented 1 year ago

I can´t load this extension.

INFO:Loading the extension "annoy_ltm"... ERROR:Failed to load the extension "annoy_ltm". Traceback (most recent call last): File "G:\oobabooga_windows\text-generation-webui\modules\extensions.py", line 34, in load_extensions exec(f"import extensions.{name}.script") File "", line 1, in File "G:\oobabooga_windows\text-generation-webui\extensions\annoy_ltm\script.py", line 9, in from annoy import AnnoyIndex ModuleNotFoundError: No module named 'annoy'

Dalhimar commented 1 year ago

The error you're getting makes it look like you don't have annoy installed in the same environment that the extension runs in. Did you have any errors when installing the requirements.txt?

rinaldop commented 1 year ago

My fault. I reinstall requirements.txt. It is working now.