Getting error while using fuzzywuzzy: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning

Rishi Bansal picture Rishi Bansal · Dec 18, 2018 · Viewed 12.6k times · Source

I am getting below error. Is there any way to fix it without installing python-Levenshtein and if not then how to install python-Levenshtein on linux.

UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
  warnings.warn

Answer

Preetham picture Preetham · Dec 18, 2018

First of all its a warning.

You can install python-Levenshtein using pip

pip install python-Levenshtein

You may have to change to pip3 incase if you are using python 3