InstallationΒΆ

A pre-requisite for this package is python-snappy which will be installed by Python automatically, but python-snappy also requires binary libraries for snappy compression.

The most straightforward way to install the binary dependencies is to use Homebrew and source Python from Homebrew rather than from macOS as described in the python-snappy github. Using pipx for package management is also strongly recommended:

brew install snappy python3 pipx
pipx install numbers-parser

For Linux (your package manager may be different):

sudo apt-get -y install libsnappy-dev

On Windows, you will need to either arrange for snappy to be found for VSC++ or you can install python pre-compiled binary libraries which are only available for Windows on Arm. There appear to be no x86 pre-compiled packages for Windows.

pip install python_snappy-0.6.1-cp312-cp312-win_arm64.whl