-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG] SillyTavern - extras does not work or reinstall properly #6
Comments
What windows version are you running on? and what command line window are you using? |
Sorry about that. Windows 10, build 19045. Using CMD. |
can you try using the latest terminal app? |
Wasn't aware there was a terminal app out there, learn something new every day. However, the behavior seems the same. Generates the same errors, reinstall for extra wipes both ST and extras and then crashes. |
@cyberkoala |
I played with this some more- i ended up walking through the manual ST iinstall process, and I think it's a permissions issue. Lost the terminal output, but running through the install requirements by hand, when trying to install flask and it's prerequists, there's a script file it errored out at, something it appeared to be trying to do in python's install folder. Launching Conda with admin privilege's allowed flask to install. Not sure how we ended up there, my understanding is the whole point of the conda env is to keep from requiring permissions/package conflicts. This explains why it doesn't install from the script, but not sure why the reinstall bugged out the way it does. Will hit you up in discord when I have more time |
@cyberkoala |
Environment
Windows
Describe the problem
So i've gone down this path three times, behavior was identical each time. It probably is something off in my environment, but the effect is pretty annoying as these things go, as it ultimately wipes my entire install.
Install sillytavern plus extras via the bat. Goes through the apparent install, There's a couple errors i see but it looks like it installs everything it has winget errors for. I understand the numpy issue, but figure that if i'm not using TTS it should still at least launch the extras server for anything else.
Launch ST+ extras. three command windows launch, ST is useable. the extras API is not. In it's cmd window, it's giving me the following error: in the st window
EnvironmentNameNotFound: Could not find conda environment: extras
You can list all discoverable environments with
conda info --envs
.and in the extra's CMD window:
Traceback (most recent call last):
File "C:\Users\corey\Downloads\sillytavern\SillyTavern-extras\server.py", line 2, in
from flask import (
ModuleNotFoundError: No module named 'flask'
So this doesn't seem related to any of the error messages in the install log
Not really sure what else i can do to correct the error, i go back to the st-launch toolbox, and there's an option to just 'reinstall extras'. I select that. It runs, but encounters an error- and apparently removes the entire sillytavern install, not just the extras, and then crashes.
Expected behavior: if a conflict or missing package keep extras from installing, provide more clear feedback to the user at the end of the process. If this is due to the numpy package, maybe a break there saying 'before you move forward, please downgrade to'
If needing to reinstall just the extras package- it should not delete the entire directory, or should at least warn users that these options are destructive to existing data/installs.
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: