From 1bb8f2fa23498b915bee50d71ff3e31d655fb022 Mon Sep 17 00:00:00 2001 From: Xisen Wang <118058822+Xisen-Wang@users.noreply.github.com> Date: Wed, 20 Mar 2024 12:48:52 +0000 Subject: [PATCH] Enhance README with LightGBM Installation Guidance for Mac M1 Users (#1766) * Update README.md * Update README.md * Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a25c29c117..a9d5e4cc23 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,8 @@ Also, users can install the latest dev version ``Qlib`` by the source code accor **Tips**: If you fail to install `Qlib` or run the examples in your environment, comparing your steps and the [CI workflow](.github/workflows/test_qlib_from_source.yml) may help you find the problem. +**Tips for Mac**: If you are using Mac with M1, you might encounter issues in building the wheel for LightGBM, which is due to missing dependencies from OpenMP. To solve the problem, install openmp first with ``brew install libomp`` and then run ``pip install .`` to build it successfully. + ## Data Preparation Load and prepare data by running the following code: