Install xgboost (python version) on Windows

Operating environment

Windows 7 Professional 64bit Python 2.7.9 (Anaconda) Visual Studio 2010 Professional

procedure

Download xg boost directly under C drive.

> cd c:\
> git clone https://github.com/dmlc/xgboost.git

Since there is xgboost.sln in c: \ xgboost \ windows, Open in Visual Studio and rebuild in release mode. Here, xgboostjavawrapper seems to require jni.h. I don't plan to use it from Java, so unload xgboostjavawrapper and exclude it from the solution.

If the rebuild is successful, execute [setup.py].

> cd c:\xgboost\python-package
> python setup.py install

Check if the installation is successful.

> python
>>> import xgboost as xgb

OK if there are no errors.

reference

xgboost/windows

Recommended Posts

Install xgboost (python version) on Windows
Install python on windows
Install watchdog on Windows + Python 3.3
[Python] [Chainer] [Windows] Install Chainer on Windows
Install ZIP version Python and pip on Windows 10
Python on Windows
Install python2.7 on windows 32bit environment
Install Python on Windows + pip + virtualenv
Install Pytorch on Blender 2.90 python on Windows
Install Python development environment on Windows 10
[Python Windows] pip install with Python version
Install python and Visual Studio Code on windows10 (April 2020 version)
[Kivy] How to install Kivy on Windows [Python]
Install python on WSL
Install Scrapy on python3
Install Python on Mac
Install Python 3 on Mac
Install Python3.4 on CentOS 6.6
Install Anaconda on Windows 10
python basic on windows ②
Install pycuda on Windows10
Install Python 2.7.3 on CentOS 5.4
Build XGBoost on Windows
Install pygraphviz on Windows 10
Install Python 3.3 on Ubuntu 12.04
Install Chainer 1.5.0 on Windows
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install Python (for Windows)
[2020 version] How to install Python3 on AWS EC2
Install Python3, numpy, pandas, matplotlib, etc. on Windows
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
[Python] How to install OpenCV on Anaconda [Windows]
Set-enable Python virtualenv on Windows
How to install Python [Windows]
Install Python 3.8 on RHEL 8 (AppStream)
Install Python and Flask (Windows 10)
Install Win-Kex (kali-linux) on Windows 10.
Install pygame on python3.4 on mac
Windows10: Install python dlib library
Install cvxpy on windows, Anaconda
Python + Kivy development on Windows
Install Python 3.8 on CentOS 7 (SCL)
Sphinx-autobuild (0.5.2) on Windows7, Python 3.5.1, Sphinx 1.3.5
Fastest Python installation on Windows
Build Python environment on Windows
Install pandas 0.14 on python3.4 [on Mac]
Install OpenCV on Ubuntu + python
Install Chainer 1.6 (GPU) on Windows 7.
Build python environment on windows
Python --Install MySQLDB on EC2
Install Python 3.8 on CentOS 8 (AppStream)
I ran python on windows
Python install in 2 lines @Windows
Use Python on Windows (PyCharm)
Install dlib for Python (Windows)
[Windows] [Python3] Install python3 and Jupyter Notebook (formerly ipython notebook) on Windows
Install pyenv on Raspberry Pi and version control Python
Install Bash on Ubuntu on Windows, Ruby, Python, Jupyter, etc.
For those who can't install Python on Windows XP
Install Python Pillow on Amazon Linux