- Add library dirs to support Windows module
Using MSVC compiler tools. Open Developer Command Prompt
of Visual Studio
git clone https://github.com/google/snappy
cd snappy
cmake .
cmake --build . --config Release
set SNAPPY_DIR=<cloned-snappy-path>
python setup.py install
## Library up to your platform
sudo apt-get install libsnappy-dev
sudo yum install libsnappy-devel
brew install snappy
## Python wrapper
pip install python-snappy