letmaik / rawpy

📷 RAW image processing for Python, a wrapper for libraw
https://pypi.python.org/pypi/rawpy
MIT License
587 stars 67 forks source link

RawPy for Raspberry Pi4 #187

Closed RhoLuke closed 1 year ago

RhoLuke commented 1 year ago

I'm trying to install rawpy library on my Rapsberry Pi4 using pip/pip3 but in all cases I get the following error:

ERROR: Could not find a version that satisfies the requirement rawpy (from versions: none) ERROR: No matching distribution found for rawpy

This suggests me that rawpy can't run on Raspbian OS, am I wrong?

kamikaze commented 1 year ago

I'm trying to install rawpy library on my Rapsberry Pi4 using pip/pip3 but in all cases I get the following error:

ERROR: Could not find a version that satisfies the requirement rawpy (from versions: none) ERROR: No matching distribution found for rawpy

This suggests me that rawpy can't run on Raspbian OS, am I wrong?

rawpy is moving slow towards arm64 if at all. try finding another solution. hint: imageio will not help due to its abandoned freeimage plugin doesn't support arm64 either

kmilos commented 1 year ago

rawpy is moving slow towards arm64 if at all

RawPy builds from source just fine for aarch64 (as does LibRaw), just that there are no binary wheels uploaded.

Edit: Even the latter part is not true: https://pypi.org/project/rawpy/#files

See also https://github.com/letmaik/rawpy/issues/147

letmaik commented 1 year ago

Not sure what the exact issue is but arm64 wheels for Linux are available. It may be that you're using the 32 bit OS on raspberry.

kamikaze commented 1 year ago

Not sure what the exact issue is but arm64 wheels for Linux are available. It may be that you're using the 32 bit OS on raspberry.

Sorry, my bad. Just jealous, that same arm64 wheel is not available for Apple M1/M2

letmaik commented 1 year ago

Closing as arm64 wheels for Linux are available. If Raspberry Pi needs custom wheels, then this is not something that would be provided via PyPI. A manual build from source in that case is the best option.