Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance README with LightGBM Installation Guidance for Mac M1 Users #1766

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

xisen-w
Copy link
Contributor

@xisen-w xisen-w commented Mar 20, 2024

Description

This update introduces additional guidance in the README for Mac users with M1 chips who encounter issues installing LightGBM, a dependency of PyQlib. A new section under installation tips provides a workaround for the common wheel building error related to missing OpenMP dependencies.

Motivation and Context

During the installation of PyQlib on Mac systems with M1 chips, users may face difficulties building LightGBM due to missing OpenMP dependencies. This issue has been highlighted in several community discussions. The added instructions aim to streamline the installation process, enhancing user experience and supporting broader adoption of PyQlib on Mac platforms.

How Has This Been Tested?

The provided solution has been manually tested on a Mac with an M1 chip. Following the updated README instructions resulted in a successful installation of PyQlib, including the correct setup of LightGBM.

  • The README update does not introduce new features and relies on existing tests.

Screenshots of Test Results (if appropriate):

Not entirely applicable as this update involves documentation only. The results for installation are shown
Screenshot 2024-03-20 at 12 23 14 PM
Screenshot 2024-03-20 at 12 24 02 PM

Types of changes

  • Update documentation

I've added a specific tip for Mac M1 users in the README, outlining the need to install libomp using Homebrew before attempting to install PyQlib. This step addresses a common issue where the installation process fails due to missing OpenMP dependencies required by LightGBM. The aim is to make the setup process smoother for Mac users and minimize installation-related inquiries.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 20, 2024
@xisen-w xisen-w changed the title Fixing LightGBM installation issue in installing pyqlib on Mac Enhance README with LightGBM Installation Guidance for Mac M1 Users Mar 20, 2024
@you-n-g you-n-g merged commit 1bb8f2f into microsoft:main Mar 20, 2024
22 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants