diff --git a/README.md b/README.md index 1c6d94ddd..787075d6a 100644 --- a/README.md +++ b/README.md @@ -82,13 +82,10 @@ This table demonstrates the supported Python version of `Qlib`: 2. For Python 3.9, `Qlib` supports running workflows such as training models, doing backtest and plot most of the related figures (those included in [notebook](examples/workflow_by_code.ipynb)). However, plotting for the *model performance* is not supported for now and we will fix this when the dependent packages are upgraded in the future. ### Install with pip -**Note**: Due to latest numpy release: version 1.20.0, unexpected errors will occur if you install or run Qlib with `numpy==1.20.0`. We recommend to use lower version of `numpy==1.19.5` for now and we will fix this incompatibility in the neaar future. - Users can easily install ``Qlib`` by pip according to the following command. ```bash - pip install numpy==1.19.5 - pip install pyqlib --ignore-installed numpy + pip install pyqlib ``` **Note**: pip will install the latest stable qlib. However, the main branch of qlib is in active development. If you want to test the latest scripts or functions in the main branch. Please install qlib with the methods below. diff --git a/setup.py b/setup.py index 142731d07..f759945fd 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ if not _CYTHON_INSTALLED: # What packages are required for this module to be executed? # `estimator` may depend on other packages. In order to reduce dependencies, it is not written here. REQUIRED = [ - "numpy>=1.12.0,<=1.19.5", + "numpy>=1.12.0", "pandas>=0.25.1", "scipy>=1.0.0", "requests>=2.18.0",