Skip to content

Commit

Permalink
Enhance README with LightGBM Installation Guidance for Mac M1 Users (#…
Browse files Browse the repository at this point in the history
…1766)

* Update README.md

* Update README.md

* Update README.md
  • Loading branch information
Xisen-Wang committed Mar 20, 2024
1 parent 39f88da commit 1bb8f2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 1bb8f2f

Please sign in to comment.