py-why / py-why/EconML

Unable to Install on Mac OS with Apple Silicon

Open
#689 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported python3.10 pip install lightgbm command on Apple Silicon and inspect the attached LightGBM_compilation.log. Determine whether the failure is specific to the reported environment; done means EconML and its LightGBM dependency have a supported installation path or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.