SelfExplainML / PiML-Toolbox

PiML (Python Interpretable Machine Learning) toolbox for model development & diagnostics
https://selfexplainml.github.io/PiML-Toolbox
Apache License 2.0
931 stars 111 forks source link

Installation on Macbook Pro M1 architecture #4

Closed parunach closed 1 year ago

parunach commented 2 years ago

This is not installable on M1 architecture machines. Can this be installed from the git repo?

ajzhanghk commented 2 years ago

Seems like we really have to get a latest MacBook with M1 Pro or Max chip. We'll try to make PiML installable on M1.

Eveyz commented 2 years ago

This is not installable on M1 architecture machines. Can this be installed from the git repo?

Hi @parunach, can you post the error message here? Probably with your python version.

parunach commented 2 years ago

Python version: 3.9.7

Error with pip: ERROR: Could not find a version that satisfies the requirement PiML (from versions: none) ERROR: No matching distribution found for PiML

ajzhanghk commented 2 years ago

Python version: 3.9.7

Error with pip: ERROR: Could not find a version that satisfies the requirement PiML (from versions: none) ERROR: No matching distribution found for PiML

So far we have only compiled versions for MacOS 10.14_x86_64 (for Python 3.7, 3.8, 3.9). "pip install piml" runs okay on an M1 architecture machine. Can you share which versions you have for MacOS and Python? Thanks.

parunach commented 2 years ago

MacOS: Monterey 12.4

I have a Macbook Pro M1 Max

asudjianto commented 2 years ago

I installed it successfully in M1 (not Max). I have to install an older version of LightGBM because the latest version doesn’t run on M1.

parunach commented 2 years ago

When I run the pip in my machine, I get the same error message. Are you making any changes?

virtualitics-joseph commented 1 year ago

Hi, I'm also having an issue installing on Macbook Pro M1 Architecture.

Running this on mac M1 pro, Monterey v12.6 on Python v3.9.12

The error message I'm receiving is different.

Screen Shot 2022-11-08 at 10 48 51 AM
ZebinYang commented 1 year ago

Hi @virtualitics-joseph, this is an error due to lightgbm on MacOS. You may reinstall lightgbm using the solution in the following link. https://stackoverflow.com/questions/50889162/lightgbm-image-not-found-after-mac-install

ZebinYang commented 1 year ago

Hi @parunach,

I also encountered this error with an old version of pip. You may need to upgrade your pip to the latest version via "pip install pip -U", and then run "pip install piml".

ZebinYang commented 1 year ago

Closed as starting from PiML-0.5.1, Mac M1 is supported with Python 3.8, 3.9, and 3.10.