Jupyter notebook xgboost import : <p>I have the problem below (I'm on a MAC)</p>

<p>I can import xgboost from python2.7 or python3.6 with my Terminal but the thing is that I can not import it on my Jupyter notebook.</p>

<pre><code>import xgboost as xgb
</code></pre>

<p>ModuleNotFoundError                       Traceback (most recent call last)
 in ()
----> 1 import xgboost as xgb</p>

<p>ModuleNotFoundError: No module named 'xgboost'</p>

<p>Although I write : </p>

<pre><code>!pip3 install xgboost
</code></pre>

<p>It prints that : </p>

<p>Requirement already satisfied: xgboost in     /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/xgboost-0.6-py3.6.egg
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from xgboost)
Requirement already satisfied: scipy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from xgboost)</p>

<p>Help please I searched everywhere :(</p>
