Python3 Rawkit Workaround

Workaround for error "Unsupported Libraw version 0.19.0"

cd ~/Development/project
python3 -m venv .env
pip install rawkit
git clone https://github.com/photoshell/rawkit.git
cp rawkit/libraw/* .env/lib/python3.7/site-packages/libraw/
Bash commands.

Using pip install of rawkit, I was encountering an error at runtime: "Unsupported Libraw version 0.19.0"

I worked around this issue by pulling the latest version of rawkit from github and copying the libraw git files into the libraw pip directory. There is a new libraw file "structs_19" and a new entry in bindings.py requiring this file.

Subscribe to Eric Brock

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe