Installation#
While there are several ways of install RapidFuzz, the recommended methods are either by using pip (the Python package manager) or conda (an open-source, cross-platform, package manager)
using pip#
RapidFuzz can be installed with pip:
pip install rapidfuzz
There are pre-built binaries (wheels) of RapidFuzz for MacOS (10.9 and later), Linux x86_64 and Windows.
failure "ImportError: DLL load failed"
If you run into this error on Windows the reason is most likely, that the Visual C++ 2019 redistributable is not installed, which is required to find C++ Libraries (The C++ 2019 version includes the 2015, 2017 and 2019 version).
using conda#
RapidFuzz can be installed with conda:
conda install -c conda-forge rapidfuzz
from git#
RapidFuzz can be directly used from GitHub by cloning the repository. This requires a C++14 capable compiler.
git clone --recursive https://github.com/maxbachmann/rapidfuzz.git
cd rapidfuzz
pip install .