Skip to content

spacy not working #8

@dietrichmd

Description

@dietrichmd

Using stash inside docker.

Installed plugin using following instructions:

Add the python files too your .stash/plugins directory

create a virtualenv

virtualenv -p python3 --system-site-packages ~/.stash/plugins/env
source ~/.stash/plugins/env/bin/activate
pip install ~/.stash/plugins/requirements.txt
python -m spacy download en_core_web_md

That said, I cant get virtualenv to run inside docker shell, so running it using the /home/stash/config/plugins/* instead.

When trying to search for performers, the log shows this error:

22-01-09 09:22:27
Error   
Plugin returned error: exit status 1
2022-01-09 09:22:27
Error   
[Plugin / Performer Creator] ModuleNotFoundError: No module named 'spacy'
2022-01-09 09:22:27
Error   
[Plugin / Performer Creator]     import spacy
2022-01-09 09:22:27
Error   
[Plugin / Performer Creator]   File "/root/.stash/plugins/performer_creator.py", line 13, in <module>
2022-01-09 09:22:27
Error   
[Plugin / Performer Creator] Traceback (most recent call last):

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions