Missing wheels for M1 (Mac ARM) architecture #1071
Replies: 2 comments 1 reply
-
Fiona 1.8.21 wheels for x86_64 manylinux2014 and macos (10.10) only were built on GitHub actions using https://github.com/sgillies/fiona-wheels. I get it @thomasaarholt, and I'm sorry to have no good news for you today. In the M1 case, we're mainly blocked by the lack of free CI with native M1 workers. Cross-compilation is, in theory, possible, and I've done it for the GEOS library, but there are a lot of unknowns for the deep stack of libraries that GDAL depends on. For the time being: use packages from conda-forge. The conda-forge project's mission is to build packages. You can even sponsor the project with money to do it. The Fiona project is not currently on a mission to build packages for every available platform. This is a software code project, not a packaging or distribution project. |
Beta Was this translation helpful? Give feedback.
-
@thomasaarholt I encountered the same issue. As you mentioned the installation complaints about a missing GDAL config. Try installing gdal with brew before pip-installing fiona again. Have a look at this thread on stack overflow :) |
Beta Was this translation helpful? Give feedback.
-
Expected behavior and actual behavior.
I expected to be able to install fiona with pip in python 3.9 on an M1 (arm architecture) Mac.
Steps to reproduce the problem.
pip install fiona
raises the following error:Operating system
Mac OS X 12.2.1.
This is in the same vein as #1028. It would be great to add arm architecture support so that fiona and its 247 downstream packages can be used on arm :)
The linux arm package is of interest for mac as well, since docker images that run on the M1 architecture will run arm arch linux. (So if you run a docker image natively on M1 mac, the current linux package will not be installed)
Beta Was this translation helpful? Give feedback.
All reactions