-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading the extension "long_term_memory"... Fail. #25
Comments
I just figured this out. I guess installing the compoenets in requirement doesn't install them in the instance that runs text-generation-webui. Probably a better way to do this, but i'm very new to all of this, but I just modified my start-webui.bat file to include a pip install command for everything in the long-term-memory extension requirements.txt file like this and ran it once, then I didn't need those commands anymore: @echo off @echo Starting the web UI... cd /D "%~dp0" set MAMBA_ROOT_PREFIX=%cd%\installer_files\mamba if not exist "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" ( |
Thanks^ I use the one click linux install and adding the packages to start script was a breeze.
|
I got a slightly different problem: 2023-06-18 20:06:53 INFO:Loading the extension "long_term_memory"... But zarr seems to be installed F:\Programme\oobabooga_windows>pip install zarr [notice] A new release of pip available: 22.3.1 -> 23.1.2 F:\Programme\oobabooga_windows> Any suggestions? 🤔 |
It's there but Ooba is not finding it. If you run the command to show the Version of zarr, Does it work? Or essentially, is zarr in a location in your $PATH? |
Uh ... a short reminder on how I do this, please .. ? 😐 |
I'm having the same zarr error message despite it being installed. I also have I also have a Here is the whole error message:
The strange thing is that I was able to run the long_term_memory extension just fine right after its installation. I started seeing that error messages after shutting down oobabooga and rerunning it. Does anyone know what's going on here? |
Summary: Skip start_windows.bat and run text-generation-webui using the command prompt within the Guys, I think I might've hopefully found solutions that can work for you too: First thing to try is to NOT run text-generation-webui using the default provided Consider deleting or renaming the This should hopefully work for the majority of users. If it doesn't, then try the below. Secondly, one major root for this problem may be having a blank space or more in any of Python's paths. This is likely due to installing Python using the default method (only for yourself), and you having a Windows username that has a space in it. Thus, the beginning of Python's paths would be something like The easiest way I can think of to resolve this issue, if it applies to you, is to uninstall Python and then reinstall it into After that, make sure that Next, try running text-generation-webui again with the long_term_memory extension (remember: NOT using the start_windows.bat file!). If it still doesn't work, then keep reading. You may need to change your Windows username to one without spaces if Python insists on having some of its components in your Windows user's folder. For this, you may want to check the top answer on this StackOverflow question and ensure that you read all the comments on the top answer because I give a tip in my own comment on that answer on how to speed up the process of replacing occurrences of your old username with the new space-free one. You can probably continue reading without attempting this complex process, yet, though, just in case things work for you without having to change your username. I just wanted to get this out of the way in case you already confirmed that something is trying to access some Python components in your space-infested user directory. Next, rename your old long_term_memory subfolder or simply back up its Hopefully, all this should work for the vast majority of users. And remember to not use the default provided |
For those who want to open through the start-webui.bat, the module errors that are occurring after installing the extension, just run the command |
i keep getting this error everytime i try to load the extension:
Starting the web UI...
Loading the extension "long_term_memory"... Fail.
Traceback (most recent call last):
File "E:\Documents\AI\one-click-installers-oobabooga-windows\text-generation-webui\modules\extensions.py", line 19, in load_extensions
exec(f"import extensions.{name}.script")
File "", line 1, in
File "E:\Documents\AI\one-click-installers-oobabooga-windows\text-generation-webui\extensions\long_term_memory\script.py", line 14, in
from extensions.long_term_memory.core.memory_database import LtmDatabase
File "E:\Documents\AI\one-click-installers-oobabooga-windows\text-generation-webui\extensions\long_term_memory\core\memory_database.py", line 8, in
from sentence_transformers import SentenceTransformer
File "C:\Users\raziq\AppData\Roaming\Python\Python310\site-packages\sentence_transformers_init_.py", line 3, in
from .datasets import SentencesDataset, ParallelSentencesDataset
File "C:\Users\raziq\AppData\Roaming\Python\Python310\site-packages\sentence_transformers\datasets_init_.py", line 1, in
from .DenoisingAutoEncoderDataset import DenoisingAutoEncoderDataset
File "C:\Users\raziq\AppData\Roaming\Python\Python310\site-packages\sentence_transformers\datasets\DenoisingAutoEncoderDataset.py", line 5, in
import nltk
ModuleNotFoundError: No module named 'nltk'
Loading the extension "gallery"... Ok.
Running on local URL: http://127.0.0.1:7861
To create a public link, set
share=True
inlaunch()
.The text was updated successfully, but these errors were encountered: