title: xgboost WinError127, windows 10, anaconda
body: <p>i'm trying to install xgboost on my laptop to use in anaconda. After following this link <a href="https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_XGBoost_For_Anaconda_on_Windows?lang=en" rel="nofollow noreferrer">https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_XGBoost_For_Anaconda_on_Windows?lang=en</a>, and after (I think) every step was correctly implemented, when i try to import xgboost in anaconda, i get: [WinError 127] The specified procedure could not be found. I've searched a lot but still haven't manage to find a solution so I'm hoping someone has a light. Thanks</p>
  
  <p>EDIT:
  The used code just like in the link</p>
  
  <pre><code>import os
  
  mingw_path = 'C:\\Program Files\\mingw-w64\\x86_64-5.3.0-posix-seh-rt_v4-rev0\\mingw64\\bin'
  
  os.environ['PATH'] = mingw_path + ';' + os.environ['PATH']
  
  import xgboost as xgb
  import numpy as np
  
  data = np.random.rand(5,10) # 5 entities, each contains 10 features
  label = np.random.randint(2, size=5) # binary target
  dtrain = xgb.DMatrix( data, label=label)
  
  dtest = dtrain
  
  param = {'bst:max_depth':2, 'bst:eta':1, 'silent':1, 'objective':'binary:logistic' }
  param['nthread'] = 4
  param['eval_metric'] = 'auc'
  
  evallist  = [(dtest,'eval'), (dtrain,'train')]
  
  num_round = 10
  bst = xgb.train( param, dtrain, num_round, evallist )
  
  bst.dump_model('dump.raw.txt')
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Traceback (most recent call last):
  
    File "&lt;ipython-input-2-162883d28707&gt;", line 7, in &lt;module&gt;
      import xgboost as xgb
  
    File "C:\Anaconda\lib\site-packages\xgboost-0.6-py3.6.egg\xgboost\__init__.py", line 11, in &lt;module&gt;
      from .core import DMatrix, Booster
  
    File "C:\Anaconda\lib\site-packages\xgboost-0.6-py3.6.egg\xgboost\core.py", line 115, in &lt;module&gt;
      _LIB = _load_lib()
  
    File "C:\Anaconda\lib\site-packages\xgboost-0.6-py3.6.egg\xgboost\core.py", line 109, in _load_lib
      lib = ctypes.cdll.LoadLibrary(lib_path[0])
  
    File "C:\Anaconda\lib\ctypes\__init__.py", line 426, in LoadLibrary
      return self._dlltype(name)
  
    File "C:\Anaconda\lib\ctypes\__init__.py", line 348, in __init__
      self._handle = _dlopen(self._name, mode)
  
  OSError: [WinError 127] Impossível localizar o procedimento especificado
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YKn93.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YKn93.png" alt="Error and interface"></a></p>