koursaros-ai/nboost

Dependencie missing: numpy

Closed this issue · 1 comments

I'm trying to run a container using docker-compose configured like:

nboost_mrturing:
   container_name: nboost_mrturing
   image: koursaros/nboost:latest-alpine
   environment:
     - uhost=elasticsearch-master
     - uport=9200
   ports:
     - 9090:8000

But the container returns an error:

nboost_mrturing         |   File "/usr/local/lib/python3.7/site-packages/nboost/model/bert_model/__init__.py", line 3, in <module>
nboost_mrturing         |     import numpy as np
nboost_mrturing         | ModuleNotFoundError: No module named 'numpy'

Am I missing something?

Hi -
Use the koursaros/nboost:latest-tf image, which includes numpy+tensorflow deps.

The default alpine image doesn't have any of the heavy ML dependencies, we just use it for testing, updating the readme to make that clear.
Thanks for the feedback!