mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-04 03:21:00 +08:00
update installation README.md & docs
This commit is contained in:
@@ -12,7 +12,14 @@ Installation
|
||||
|
||||
`Qlib` supports both `Windows` and `Linux`. It's recommended to use `Qlib` in `Linux`. ``Qlib`` supports Python3, which is up to Python3.8.
|
||||
|
||||
Please follow the steps below to install ``Qlib``:
|
||||
Users can easily install ``Qlib`` by pip according to the following command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install pyqlib
|
||||
|
||||
|
||||
Also, Users can install ``Qlib`` by the source code according to the following steps:
|
||||
|
||||
- Enter the root directory of ``Qlib``, in which the file ``setup.py`` exists.
|
||||
- Then, please execute the following command to install the environment dependencies and install ``Qlib``:
|
||||
@@ -24,7 +31,6 @@ Please follow the steps below to install ``Qlib``:
|
||||
$ git clone https://github.com/microsoft/qlib.git && cd qlib
|
||||
$ python setup.py install
|
||||
|
||||
|
||||
.. note::
|
||||
It's recommended to use anaconda/miniconda to setup the environment. ``Qlib`` needs lightgbm and pytorch packages, use pip to install them.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user