简体   繁体   中英

Trying to install xgboost in python on windows

I have been driving myself crazy trying to install xgboost in python on windows 10. I have looked through several suggested articles but still can't seem to find a proper solution. If anyone has done this before kindly share your method other suggestions are also welcome.

Thank

I had exactly the same problem and just got it resolved! So, basically it's because the "openmp" component is not installed since it's not selected as default. Do the following and it'll work for you!

  1. Close Git Bash
  2. Uninstall TDM-GCC
  3. Reinstall TDM-GCC and be sure to select openmp
  4. try again using Git Bash
  5. If still doesn't work, start from beginning the whole process as described in this page

Also refer to this post for more details .

我按照这些说明设法使用 Visual Studio 在 Win 和 Python 上安装了 xgboost。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM