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

Unable to Install on Mac OS with Apple Silicon #689

Open
Zhehao97 opened this issue Oct 17, 2022 · 1 comment
Open

Unable to Install on Mac OS with Apple Silicon #689

Zhehao97 opened this issue Oct 17, 2022 · 1 comment

Comments

@Zhehao97
Copy link

Zhehao97 commented Oct 17, 2022

When I was trying to install EconML via pip command, the following errors occurred. It seems that I need to install LightGBM at the first stage, but I cannot install LightGBM python package either via pip (the error files of installing LightGBM are attached below). However, I do install LightGBM via Brew.

zhehaoli@Zhehaos-MacBook-Pro ~ % python3.10 -m pip install lightgbm
Collecting lightgbm
Using cached lightgbm-3.3.3.tar.gz (1.5 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: wheel in /opt/homebrew/lib/python3.10/site-packages (from lightgbm) (0.37.1)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from lightgbm) (1.23.4)
Requirement already satisfied: scipy in /opt/homebrew/lib/python3.10/site-packages (from lightgbm) (1.9.2)
Requirement already satisfied: scikit-learn!=0.22.0 in /opt/homebrew/lib/python3.10/site-packages (from lightgbm) (1.1.2)
Requirement already satisfied: joblib>=1.0.0 in /opt/homebrew/lib/python3.10/site-packages (from scikit-learn!=0.22.0->lightgbm) (1.2.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/homebrew/lib/python3.10/site-packages (from scikit-learn!=0.22.0->lightgbm) (3.1.0)
Building wheels for collected packages: lightgbm
Building wheel for lightgbm (setup.py) ... error
error: subprocess-exited-with-error
LightGBM_compilation.log

@kbattocchi
Copy link
Collaborator

This appears to be related to microsoft/LightGBM#5549; hopefully someone from the LightGBM team can update that issue with a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants