Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Ask Question
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
–
–
I was getting this same error in my Windows 10 setup. When I tried pip install python-Levenshtein
I got
Requirement already satisfied: python-Levenshtein in ...
I uninstalled using pip uninstall python-Levenshtein
and reinstalled it. And the error is gone.
You may ignore the warning by using the -W flag. Note that it will silent ALL warnings. I'd suggest just installing python-levenshtein module as Preetham suggested.
python -W ignore foo.py
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.