Latest Xgboost Python32 bit under installation xgboost

Source: Internet
Author: User
Tags xgboost

Many of the online Windows Python installation xgboost are very simple steps that are nothing more than a compilation of visual studio2013 above version, installed. But now that the latest xgboost has removed the C + + engineering files, find the old version of the installation tutorials that are also installed in the 64-bit Python version of Xgboost. Since I have installed many components in my python32 bit, it is too cumbersome to change to 64 bit. Search for a moment to complete the following tutorials.

Prerequisite: Python has installed scipy numpy

1, download the old version of Xgboost

Two URLs are available to prevent one from failing.

http://download.csdn.net/detail/u010111016/9465560 This is a file on the CSDN, it is shared by the reference author, it takes 1 points, recommended to download. If no points can be downloaded I share to Baidu network disk.

Https://pan.baidu.com/s/1jIg4nki

2. Download and install Visual studio2013

3, open the extracted xgboost-master\xgboost-master\windows, open the. sln project file with vs2013,

Focus on the generation of select Win32, rebuild the solution, generate a lot of errors, but do not care, will still be generated in the Windows\debug directory dependent files Xgboost_wrapper.dll

4. Copy the Xgboost_wrapper.dll file to the Python-package/xgboost directory and open the Python-package,python setup.py install with cmd

Can.

5, verify: Import xgboost as XGB can be used without errors.

Latest Xgboost Python32 bit under installation xgboost

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.