"src/vscode:/vscode.git/clone" did not exist on "f449a45b625fbe82b53695c69af5037e602f1eed"
Commit 72905d79 authored by Guolin Ke's avatar Guolin Ke
Browse files

update documents.

parent 6828461d
...@@ -33,6 +33,7 @@ Install LightGBM R-package with the following command: ...@@ -33,6 +33,7 @@ Install LightGBM R-package with the following command:
```sh ```sh
git clone --recursive https://github.com/Microsoft/LightGBM git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM/R-package cd LightGBM/R-package
# export CXX=g++-7 CC=gcc-7 # for OSX
R CMD INSTALL --build . --no-multiarch R CMD INSTALL --build . --no-multiarch
``` ```
...@@ -42,6 +43,7 @@ Or build a self-contained R package which can be installed afterwards: ...@@ -42,6 +43,7 @@ Or build a self-contained R package which can be installed afterwards:
git clone --recursive https://github.com/Microsoft/LightGBM git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM/R-package cd LightGBM/R-package
Rscript build_package.R Rscript build_package.R
# export CXX=g++-7 CC=gcc-7 # for OSX
R CMD INSTALL lightgbm_2.0.4.tar.gz --no-multiarch R CMD INSTALL lightgbm_2.0.4.tar.gz --no-multiarch
``` ```
......
...@@ -35,6 +35,8 @@ Note: Installation from source package require installing `cmake <https://cmake. ...@@ -35,6 +35,8 @@ Note: Installation from source package require installing `cmake <https://cmake.
For Windows user, Visual Studio (or `MS Build <https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017>`_) is needed, and `cmake <https://cmake.org/>`_ must be version 3.8 or higher. For Windows user, Visual Studio (or `MS Build <https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017>`_) is needed, and `cmake <https://cmake.org/>`_ must be version 3.8 or higher.
For OSX user, you need to run ```export CXX=g++-7 CC=gcc-7``` before running ```pip install ... ```.
Install GPU version: Install GPU version:
``pip install lightgbm --install-option=--gpu`` ``pip install lightgbm --install-option=--gpu``
...@@ -56,6 +58,7 @@ For Windows user, Visual Studio (or `MS Build <https://www.visualstudio.com/down ...@@ -56,6 +58,7 @@ For Windows user, Visual Studio (or `MS Build <https://www.visualstudio.com/down
git clone --recursive https://github.com/Microsoft/LightGBM git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM/python-package cd LightGBM/python-package
# export CXX=g++-7 CC=gcc-7 # for OSX
python setup.py install python setup.py install
``sudo`` (or administrator rights in Windows) may is needed to perform ``python setup.py install``. ``sudo`` (or administrator rights in Windows) may is needed to perform ``python setup.py install``.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment