xgboost installation issue with anaconda
<p>I am using Anaconda. I first switched to Python2 (Version 2.7.11).</p>

<pre><code>python -V
Python 2.7.11 :: Continuum Analytics, Inc.
</code></pre>

<p>I used the following command to install xgboost in anaconda. </p>

<pre><code>conda install -c https://conda.anaconda.org/akode xgboost
</code></pre>

<p>I then checked that xgboost is installed. </p>

<pre><code>conda list
xgboost                   0.3                      py27_0    akode
</code></pre>

<p>I run python in terminal, import xgboost and got the following errors. </p>

<pre><code>import xgboost as xgb

Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "//anaconda/envs/wen2/lib/python2.7/site-packages/xgboost.py", line 82, in &lt;module&gt;
    xglib = load_xglib()
  File "//anaconda/envs/wen2/lib/python2.7/site-packages/xgboost.py", line 59, in load_xglib
    lib = ctypes.cdll.LoadLibrary(lib_path[0])
  File "//anaconda/envs/wen2/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "//anaconda/envs/wen2/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(//anaconda/envs/wen2/lib/python2.7/site-packages/libxgboostwrapper.so, 6): Library not loaded: @rpath/./libgomp.1.dylib
  Referenced from: //anaconda/envs/wen2/lib/python2.7/site-packages/libxgboostwrapper.so
  Reason: image not found
</code></pre>

<p>I have no idea what to do next.</p>