1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-07 04:50:56 +08:00

init commit

This commit is contained in:
Young
2020-09-22 01:43:21 +00:00
parent aa51e5aad3
commit 99ebd87cba
131 changed files with 20218 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
.. _installation:
====================
Installation
====================
.. currentmodule:: qlib
How to Install ``Qlib``
====================
``Qlib`` only supports Python3, and supports up to Python3.8.
Please execute the following process to install ``Qlib``:
- Change the directory to ``Qlib``, in which the file ``setup.py`` exists.
- Then, please execute the following command:
.. code-block:: bash
$ pip install numpy
$ pip install --upgrade cython
$ python setup.py install
.. note::
It's recommended to use anaconda/miniconda to setup environment.
``Qlib`` needs lightgbm and tensorflow packages, use pip to install them.
.. note::
Do not import qlib in the repository folder which contains ``qlib``, otherwise errors may occur.
Use the following code to confirm installation successful:
.. code-block:: python
>>> import qlib
>>> qlib.__version__
<LATEST VERSION>