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

Can't install rawpy (MacOS) #197

Closed cajmorgan closed 1 year ago

cajmorgan commented 1 year ago

Hey! I'm trying to install RawPy but I'm getting the following error:

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

Then I tried to build it directly from source, and I get this:

`In file included from rawpy/_rawpy.cpp:808: rawpy/def_helper.h:1:10: fatal error: 'libraw_version.h' file not found

include "libraw_version.h"

     ^~~~~~~~~~~~~~~~~~

`

I also install LibRaw from brew without any problems, and I tried to re-install it from source, without any problems. Any suggestions what is wrong?

cajmorgan commented 1 year ago

I followed this exactly and it solved my problem: https://github.com/letmaik/rawpy#installation-from-source-on-linuxmacos