Open keithchev opened 1 year ago
Thank you @keithchev for the issue.
I was able to reproduce the error, and more. I found hacks to make PyQt5 install without issues from pypi but those solutions won't provide a pleasant install experience so I started look into other ideas, then: I observed PyQt6 is able to install without issues on M1 system. I will make an issue and a PR to investigate further what it would take for us to migrate PyQt6.
Tensorflow caused errors too but I discovered tensorflow-macos
and tensorflow-metal
installs on M1 MBP without issue. I am imagining these can be optional dependencies for M1 Aydin users. Also tensorflow related code is deprecated in v0.1.15, so this is a smaller concern overall.
LightGBM seem to not plan support for M1 silicon also, we can potentially make LightGBM an optional dependency as well.
scikit-image and imagecodecs also tried building from source on M1, so we would also need to address them before making Aydin supported on M1 systems.
I noticed these problems too. I think the issue with scikit-image is that 0.18.3 requires numpy 1.19.3, which is not available for arm64 on pypi (though it is on conda-forge). I did not look into the issue with imagecodecs 2022.2.2, but fwiw I did notice that it too is installable using conda.
Describe the bug Installing aydin via
pip
on an Apple M1 fails because of an error installing pyqt5.To Reproduce Obtain a 2021 Apple M1 Macbook Pro and attempt to install aydin:
This results in an error when installing pyqt5:
Desktop (please complete the following information): macOS Monterey (12.5) on Apple M1 (arm64)