PiML-Toolbox icon indicating copy to clipboard operation
PiML-Toolbox copied to clipboard

Installation on Macbook Pro M1 architecture

Open parunach opened this issue 3 years ago • 10 comments

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

parunach avatar May 19 '22 00:05 parunach

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.

ajzhanghk avatar May 19 '22 11:05 ajzhanghk

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.

Eveyz avatar May 24 '22 03:05 Eveyz

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

parunach avatar May 24 '22 04:05 parunach

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.

ajzhanghk avatar May 24 '22 13:05 ajzhanghk

MacOS: Monterey 12.4

I have a Macbook Pro M1 Max

parunach avatar May 24 '22 14:05 parunach

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.

asudjianto avatar May 28 '22 00:05 asudjianto

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

parunach avatar May 30 '22 09:05 parunach

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

virtualitics-joseph avatar Nov 09 '22 14:11 virtualitics-joseph

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 avatar Nov 11 '22 11:11 ZebinYang

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 avatar Nov 11 '22 11:11 ZebinYang

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

ZebinYang avatar Sep 29 '23 10:09 ZebinYang