Hi guys,
I want to deploy a model that I fitted with xgboost. When I load the model I get the error:
no module named xgboost
First I am surprised I need to import that since the object should have all information needed. Anyhow, maybe I am missing something. But when I explicitly write "import xgboost" I get the same error. But in the bash console I get the feedback, that the package is installed:
19:59 ~ $ workon my-virtualenv
(my-virtualenv) 20:00 ~ $ pip install xgboost
Looking in links: /usr/share/pip-wheels
Requirement already satisfied: xgboost in ./.virtualenvs/my-virtualenv/lib/python3.6/site-packages (0.80)
Requirement already satisfied: scipy in ./.virtualenvs/my-virtualenv/lib/python3.6/site-packages (from xgboost) (1.1.0)
Requirement already satisfied: numpy in ./.virtualenvs/my-virtualenv/lib/python3.6/site-packages (from xgboost) (1.14.5)
(my-virtualenv) 20:00 ~ $
What do I have to do?
Thanks
M