From a67f67db6e175791e1e0f4e3bb818da394c8e522 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Tue, 18 Jan 2022 10:20:07 +0800 Subject: [PATCH] Update README.md --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 4df8a0ca3..86060ed24 100644 --- a/README.md +++ b/README.md @@ -136,17 +136,11 @@ Also, users can install the latest dev version ``Qlib`` by the source code accor ``` * Clone the repository and install ``Qlib`` as follows. - * If you haven't installed qlib by the command ``pip install pyqlib`` before: - ```bash - git clone https://github.com/microsoft/qlib.git && cd qlib - python setup.py install - ``` - * If you have already installed the stable version by the command ``pip install pyqlib``: ```bash git clone https://github.com/microsoft/qlib.git && cd qlib pip install . ``` - **Note**: **Only** the command ``pip install .`` **can** overwrite the stable version installed by ``pip install pyqlib``, while the command ``python setup.py install`` **can't**. + **Note**: You can install Qlib with `python setup.py install` as well. But it is not the recommanded approach. It will skip `pip` and cause obscure problems. For example, **only** the command ``pip install .`` **can** overwrite the stable version installed by ``pip install pyqlib``, while the command ``python setup.py install`` **can't**. **Tips**: If you fail to install `Qlib` or run the examples in your environment, comparing your steps and the [CI workflow](.github/workflows/test.yml) may help you find the problem.