Closed programatt closed 2 years ago
rawpy doesn't publish arm64 wheels yet (because GitHub Actions doesn't have M1 runners yet), but for some reason the x64 wheel for Python 3.10 is tagged as universal2 which it shouldn't be. This is why it successfully installs for you but then fails during import. You can build from source by following https://github.com/letmaik/rawpy#installation-from-source-on-linuxmacos. Note that arm64 hasn't been tested, so you're on your own here. I'll leave this issue open to deal with the mistagged 3.10 wheel.
@letmaik thanks, I was able to get it to install from source and it imports ok. I will try using it now. Do you want me to report any issues with arm64 that I run into on a different issue or this one?
For arm64 issues, please open new issues please.
Regarding the tagging issue, seems like this is known: https://github.com/pypa/setuptools/issues/2520#ref-pullrequest-807916179
u don't need to wait for arm64 runners, use docker buildx actions, take a look: https://github.com/kamikaze/fastapi-auth-service/tree/master/.github/workflows
I have installed libraw with
brew install libraw
and rawpy withpip install rawpy
. However I receive the following error when trying to import rawpy in my codeI don't really understand how python packaging and wheels work but my understanding is the
--no-binary :all:
option should try and build the package from source but I got this error.Does rawpy support running on arm64 systems?