Closed jianshu93 closed 2 years ago
Hi Jianshu,
Could you please give me the output on your Mac for:
$ python -c 'import platform; print(platform.system(), platform.machine())'
It looks like the platform detection code in setup.py
erroneously classifies the M1 as arm
platform when it should be aarch64
.
It looks like on Linux uname -m
reports aarch64
but on MacOS it reports arm64
... I made a new release that should install properly now :+1:
It works now and I can successfully install it.
Many thanks for the quick response.
Jianshu
Hello Martin,
See this for pip install pyprodigal on arm Mac:
In file included from vendor/cpu_features/src/cpuinfo_arm.c:15: vendor/cpu_features/include/cpuinfo_arm.h:118:2: error: "Including cpuinfo_arm.h from a non-arm target."
error "Including cpuinfo_arm.h from a non-arm target."
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyrodigal Failed to build pyrodigal ERROR: Could not build wheels for pyrodigal, which is required to install pyproject.toml-based projects
Thanks,
Jianshu