Hello,
I am facing issues while running my docker image built with python 3.7 and spacy 2.2.1,
getting the below error:
Traceback (most recent call last):
File “./app.py”, line 2, in
import spacy
File “C:\Python\lib\site-packages\spacy_init_.py”, line 12, in
from .cli.info import info as cli_info
File “C:\Python\lib\site-packages\spacy\cli_init_.py”, line 6, in
from .train import train # noqa: F401
File “C:\Python\lib\site-packages\spacy\cli\train.py”, line 17, in
from …gold import GoldCorpus
File “strings.pxd”, line 23, in init spacy.gold
ImportError: DLL load failed: The specified module could not be found.
my docker file is -
FROM python:3.7-windowsservercore-ltsc2016
COPY ./* /app/
WORKDIR /app
RUN pip install --upgrade setuptools
RUN pip install -r ./requirements.txt
CMD [ “python”, “./app.py” ]