在使用Python fuzzymatch库时,我遇到了以下问题:
from fuzzywuzzy import fuzz 错误:
C:\Users\Anaconda3\lib\site-packages\fuzzywuzzy\fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')当我尝试安装python-Levenshtein时,它给出了错误:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for python-Levenshtein发布于 2021-04-15 16:50:42
请参阅Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat),尤其是WISAM的第三个答案。
你的问题可以归结为安装Visual Studio Community 2017 (也许你有Visual Studio,但有一些旧版本)。
https://stackoverflow.com/questions/67105058
复制相似问题