-
Notifications
You must be signed in to change notification settings - Fork 83
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
Pip installation fails on macOS with M1 chip #391
Comments
There are conda packages for clingo for ARM Macs. My guess is that there is some difference between the clang/gcc compilers. If you use the native compiler, clang, it should go through. One could probably also add On this note, we have Actions that build clingo pip packages for various platforms. There is probably also a way to build for ARM Macs. Unfortunately, I don't have an ARM Mac so it is hard for me to test. A PR or an example project compiling clasp using Github Actions targeting ARM macs would really help. Then I could extend the current actions to build read to use binary wheels. |
Maybe the whole pip package building could be automated better using |
Using |
Done, wheels will be online in a couple of hours. |
Thanks a lot! |
When trying to install clingo with
pip install clingo
, it fails becauseskbuild
is not found. After manually installing this dependency (pip install scikit-build
), it still fails:I am on macOS 12.5.1, with an M1 chip, Python 3.10, pip 22.2.2, G++ 12.2.0.
Installation via
homebrew
works fine, but I want to includeclingo
as a pip dependency in another project.The text was updated successfully, but these errors were encountered: