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
Currently, the docker containers provided in the docker_containers directory of this repo are unrunnable. When attempting to run them, the following errors occur:
warning: en_core_web_sm not found on disk. Downloading the model.
/usr/bin/python: No module named spacy
In an attempt to rectify this, I attempted to install both spaCy as well as the en_core_web_sm by adding the following to here in the Dockerfile to install these:
# Install spaCy and the proper pipeline used by mindmeld for this languageRUN pip3 install -U spacy
RUN export LC_ALL=C.UTF-8 && \
export LANG=C.UTF-8 && \
python3 -m spacy download en_core_web_sm
This solves the original issue but then the following is seen when running the container:
KeyError: "[E002] Can't find factory for 'tok2vec'. This usually happens when spaCy calls `nlp.create_pipe` with a component name that's not built in - for example, when constructing the pipeline from a model's meta.json. If you're using a custom component, you can write to `Language.factories['tok2vec']` or remove it from the model meta and add it via `nlp.add_pipe` instead."
From here it seems that mindmeld is downgrading spacy when it's being installed so I think the required version at
Currently, the docker containers provided in the
docker_containers
directory of this repo are unrunnable. When attempting to run them, the following errors occur:In an attempt to rectify this, I attempted to install both
spaCy
as well as theen_core_web_sm
by adding the following to here in theDockerfile
to install these:This solves the original issue but then the following is seen when running the container:
From here it seems that
mindmeld
is downgradingspacy
when it's being installed so I think the required version atmindmeld/setup.py
Line 39 in b644c6f
This is officially over my head so therefore filing this issue.
Steps to reproduce:
docker_containers/mindmeld_docker
directory of this repo.docker-compose build --no-cache
.The text was updated successfully, but these errors were encountered: