<div dir="ltr"><div>You might find more people that can help with other libraries such as XGBoost and conda on stack overflow, a list dedicated to those tools, or their github repositories.<br></div><div><a href="https://discuss.xgboost.ai/">https://discuss.xgboost.ai/</a></div><div><a href="https://groups.google.com/a/continuum.io/g/conda">https://groups.google.com/a/continuum.io/g/conda</a></div><div><br></div><div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Nicholson, Ph.D.<br></div><div><a href="https://nicholdav.info/" target="_blank">https://nicholdav.info/</a><br></div><div><a href="https://github.com/NickleDave" target="_blank">https://github.com/NickleDave</a></div><div><span><a href="http://www.biology.emory.edu/research/Prinz/" target="_blank">Prinz lab</a>, Emory University, Atlanta, GA, USA<br></span></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 11:28 AM C W <<a href="mailto:tmrsg11@gmail.com" target="_blank">tmrsg11@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Update:<br></div><div><br></div><div>It seems I've already installed XGBoost before. But, I get the following error:</div><div><br></div><div>>>> import xgboost<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/Users/mike/opt/miniconda3/lib/python3.8/site-packages/xgboost/__init__.py", line 9, in <module><br>    from .core import DMatrix, DeviceQuantileDMatrix, Booster<br>  File "/Users/mike/opt/miniconda3/lib/python3.8/site-packages/xgboost/core.py", line 174, in <module><br>    _LIB = _load_lib()<br>  File "/Users/mike/opt/miniconda3/lib/python3.8/site-packages/xgboost/core.py", line 157, in _load_lib<br>    raise XGBoostError(<br>xgboost.core.XGBoostError: XGBoost Library (libxgboost.dylib) could not be loaded.<br>Likely causes:<br>  * OpenMP runtime is not installed (vcomp140.dll or libgomp-1.dll for Windows, libomp.dylib for Mac OSX, libgomp.so for Linux and other UNIX-like OSes). Mac OSX users: Run `brew install libomp` to install OpenMP runtime.<br>  * You are running 32-bit Python on a 64-bit OS<br>Error message(s): ['dlopen(/Users/mike/opt/miniconda3/lib/python3.8/site-packages/xgboost/lib/libxgboost.dylib, 6): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib\n  Referenced from: /Users/mike/opt/miniconda3/lib/python3.8/site-packages/xgboost/lib/libxgboost.dylib\n  Reason: image not found']</div><div><br></div><div>It seems OpenMP runtime the one I am missing. I can install by running<br></div><div>> brew install libomp</div><div><br></div><div>But, I don't have brew on this computer. Any work around? <br></div><div><br></div><div>Thanks!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 10:54 AM C W <<a href="mailto:tmrsg11@gmail.com" target="_blank">tmrsg11@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello again,</div><div><br></div><div>I have 3 follow-up questions. <br></div><div><br></div><div>1) Upon searching, Anaconda website (<a href="https://anaconda.org/anaconda/py-xgboost" target="_blank">https://anaconda.org/anaconda/py-xgboost</a>) says that you can install with,<br></div><div>



  > conda install -c anaconda py-xgboost</div><div>I have miniconda, not anaconda, I guess I just replace it anaconda with minconda? <br></div><div><br></div><div>2) Using pip3 command,<br></div><div>> pip3 install xgboost</div><div>I don't have pip.<br></div><div><br></div><div>3) From XGBoost website, I now see that you can build XGBoost from source (<a href="https://xgboost.readthedocs.io/en/latest/build.html" target="_blank">https://xgboost.readthedocs.io/en/latest/build.html</a>)</div><div><br></div><div>Question: will all the 3 methods install XGBoost in the same folder?<br></div><div><br></div><div>Thanks a lot!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 10:35 AM C W <<a href="mailto:tmrsg11@gmail.com" target="_blank">tmrsg11@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello all,</div><div><br></div><div>I can't install pip on this computer. It has conda installed (probably not helpful). Is there a work around to install XGBoost and packages?<br></div><div><br></div><div>I remember reading on stackoverflow, there were some simple commands to do it. I actually used it to install packages without pip.<br></div><div><br></div><div>I can't find the post anymore, could anyone help?</div><div><br></div><div>Thanks so much!</div><div><br></div><div>Mike<br></div></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>