You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many non-programmers use oobabooga's text-generation-webui and your long_term_memory extension for writing fiction, text-roleplaying, and similar hobbies. So, despite this potentially being already well-known for most programmers and specialists, many of the fiction writers may not be aware that Step 3 in your "How to Run" section may fail when attempted in the textgen conda environment via conda activate textgen simply because their Windows username has a white space! Like "John Smith" instead of "John.Smith" or "JohnSmith." And Python installs some of its directories and files in the C:\Users\John Smith\ path.
I have confirmed this because I just finished a rather complex process of changing my Windows username to one without spaces on the whole system, including the Windows registry (if anyone comes across this, the most tedious step is replacing all instances in the registry, so with Computer in the Registry Editor selected, File -> Export two .reg files, keep one as back up, and use Replace within a text editor on the other to replace all instances of the old name with the new space-free one).
Only after I changed my username to a single word, I was able to do Step 3 of How to Run without issues, pip install -r extensions/long_term_memory/requirements.txt within the textgen conda environment. Please note that I was able to do the aforementioned pip installoutside the textgen conda environment, but that prevented the extension from working once text-generation-webui was shut down once and launched later.
It took me ages to find all this out, especially that the space in my Windows username is a major reason I wasn't able to correctly install or run this great extension. So, I thought it may help others a lot if you add a short note in Step 3 letting readers know that they most probably will have problems installing the extension within the textgen conda environment if they have a space in their Windows username and, by proxy, in some of their installed Python directories and files.
The text was updated successfully, but these errors were encountered:
Many non-programmers use oobabooga's text-generation-webui and your long_term_memory extension for writing fiction, text-roleplaying, and similar hobbies. So, despite this potentially being already well-known for most programmers and specialists, many of the fiction writers may not be aware that Step 3 in your "How to Run" section may fail when attempted in the
textgen
conda environment viaconda activate textgen
simply because their Windows username has a white space! Like "John Smith" instead of "John.Smith" or "JohnSmith." And Python installs some of its directories and files in theC:\Users\John Smith\
path.I have confirmed this because I just finished a rather complex process of changing my Windows username to one without spaces on the whole system, including the Windows registry (if anyone comes across this, the most tedious step is replacing all instances in the registry, so with Computer in the Registry Editor selected, File -> Export two .reg files, keep one as back up, and use Replace within a text editor on the other to replace all instances of the old name with the new space-free one).
Only after I changed my username to a single word, I was able to do Step 3 of How to Run without issues,
pip install -r extensions/long_term_memory/requirements.txt
within thetextgen
conda environment. Please note that I was able to do the aforementionedpip install
outside thetextgen
conda environment, but that prevented the extension from working once text-generation-webui was shut down once and launched later.It took me ages to find all this out, especially that the space in my Windows username is a major reason I wasn't able to correctly install or run this great extension. So, I thought it may help others a lot if you add a short note in Step 3 letting readers know that they most probably will have problems installing the extension within the
textgen
conda environment if they have a space in their Windows username and, by proxy, in some of their installed Python directories and files.The text was updated successfully, but these errors were encountered: