I'm writing down this issue to record my solution to the following error when trying to install this library using Poetry (on Mac OS X, with the Snappy library installed by Homebrew):
snappy/snappymodule.cc:31:10: fatal error: 'snappy-c.h' file not found
The problem here is that clang can't find the snappy library installed by homebrew. To make it work, you simply need to add a CPPFLAG:
Hi friends,
I'm writing down this issue to record my solution to the following error when trying to install this library using Poetry (on Mac OS X, with the Snappy library installed by Homebrew):
The problem here is that
clang
can't find the snappy library installed by homebrew. To make it work, you simply need to add aCPPFLAG
:I've tested it only with poetry. But I hope it will help you are using pip.