koursaros-ai / nboost

NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve the relevance of search results on different platforms (i.e. Elasticsearch)
Apache License 2.0
675 stars 69 forks source link

Kubernetes install issue - ModuleNotFoundError #39

Closed chandra2037 closed 4 years ago

chandra2037 commented 4 years ago

I am trying to deploy nboost in Kubernetes cluster using "koursaros/nboost:latest-pt" image. But it is failing. Getting the following message in the logs

Traceback (most recent call last):
  File "/opt/conda/bin/nboost", line 5, in <module>
    from nboost.__main__ import main
  File "/opt/conda/lib/python3.6/site-packages/nboost/__main__.py", line 2, in <module>
    from nboost.proxy import Proxy
  File "/opt/conda/lib/python3.6/site-packages/nboost/proxy.py", line 3, in <module>
    from flask import (
ModuleNotFoundError: No module named 'flask'

Can you please advise. Thank you.

jetnet commented 4 years ago

same issue with the docker image: koursaros/nboost:latest-pt

pertschuk commented 4 years ago

Fixed with latest release. Sorry about that :)