Open jeremymeyers opened 3 years ago
Any updates on this? I'm having problems running on a windows installation.
not a windows user so can't test, hit me up on discord and we can debug together
what's your discord username?
Unsure if this is still an issue, but you can get it to run on Windows, its mostly the same as the setup instructions.
create a virtualenv
virtualenv -p python3 --system-site-packages path to your plugin dir
e.g. C:\stash\plugins\env
run path to your plugin dir
/env/Scripts/activate.bat in a command prompt - this should get you into the python virtual env. You should see (env) C:\stash.... (or wherever your python virtual env is located) in the command prompt window.
Install packages in the virtual env
pip install -r path to the requirements.txt file
python -m spacy download en_core_web_md
Edit the plugin performer_creator.yml file
exec:
- env/bin/python
Should be:
exec:
- path to your env python.exe
Rescan the plugins in stash and try again. If it launches a python instance, it's working.
the exec python function crashes (hapy to help debug)