Windows new Xgboost Python package installation Tutorial Win10 64

Source: Internet
Author: User
Tags xgboost python xgboost

Windows new Xgboost Python package installation tutorial Win10

The first time to write a tutorial, the wrong place to look at everyone Haihan O (∩_∩) o!

The cause of writing this article is the male ticket let me help him to install XGB, unfortunately let me installed ~ ~ He said this good trouble, installed can write a blog, so~

In fact, I basically completely follow the steps of the following prawn (), the following link:

tutorial for installing the Xgboost Python package under 64-bit WIN10: http://www.th7.cn/system/win/201603/157092.shtm

Here's my step (simplify the supplemental version, please refer to the prawn link above for details):

1. Install Anaconda (Python and various tools included, if you have already installed Python, please refer to the prawn link above.) )

Links:https://www.continuum.io/downloads#_windows, I downloaded the version is python2.7, installed on the D drive (which disk can be used in casual attire, but to remember the path, because to write to the environment variable), here the path of Anaconda is actually the path of Python. The following configures the PATH environment variable (accompanying drawings):


Save time, you can first put the following link point again, while downloading while watching the tutorial (), the control of the prawn tutorial below 2~5 step, finally I detailed the last part.

2. install the Mingw-w64 (refer to the prawn link above for details)

Links:https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ mingw-builds/5.3.0/threads-win32/seh/

3. Install git

Links: Https://git-scm.com/download/win

4. Install pip

Links: https://pypi.python.org/pypi/pip#downloads

5. Installing NumPy and scipy

Link:

NumPy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

scipy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

6. Installing Xgboost

The 3rd step has already installed a call git bash, if you set a desktop shortcut, you can see an icon on the desktop, yes, open it, followed by my left hand a slow motion: hum. Start to make an order:

git clone--recursive https://github.com/dmlc/xgboost
after the wait is over:

CD Xgboost

Enter the Xgboost path:

Git submodule init
git submodule update

Following all the way under the command bar, in fact, I do not know is the dry God horse ( ), if you want to know what these steps are doing, refer to this link:

http://xgboost.readthedocs.org/en/latest/build.html (haha, not happy to see it, yes, English, this baby does not like to see English/(ㄒoㄒ)/~~)

CP Make/mingw64.mk CONFIG.MK
Make-j4
then enter the Python-package under the Xgboost path.

CD Python-package
Python setup.py Install
I'm not going to tell you it's been installed.

The first blog to write a little bit of a setback, the only big picture is to show you my environment variables ...

Finally, welcome to the vomit Groove, welcome reprint!



Windows new Xgboost Python package installation Tutorial Win10 64

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.