I have a problem below (I'm on a MAC)
I can import xgboost from python2.7 or python3.6 with my terminal, but the fact is that I can not import it on my Jupyter laptop.
import xgboost as xgb
ModuleNotFoundError Traceback (last last call) in () ----> 1 import xgboost as xgb
ModuleNotFoundError: no module named 'xgboost'
Although I write:
!pip3 install xgboost
He prints that:
The requirement has already been met: xgboost in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/xgboost-0.6-py3.6.egg The requirement has already been met: numpy in / Library / Frameworks / Python .framework / Versions / 3.6 / lib / python3.6 / site-packages (from xgboost) The requirement has already been met: scipy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from xgboost)
Please help, I searched everywhere :(