rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics
https://rapidfuzz.github.io/RapidFuzz/
MIT License
2.69k stars 119 forks source link

AttributeError: module 'rapidfuzz.process' has no attribute 'cpdist' #376

Closed Alireza-G-Qre closed 3 months ago

Alireza-G-Qre commented 6 months ago

I got the latest version of the library, but I get the following error:

AttributeError Traceback (most recent call last) Cell In [55], line 3 1 from rapidfuzz import process ----> 3 process.cpdist

AttributeError: module 'rapidfuzz.process' has no attribute 'cpdist'

maxbachmann commented 6 months ago

Are you sure you are using the latest version?

>>> import rapidfuzz
>>> rapidfuzz.__version__
'3.8.1'

The error sounds very much like you are still on an older version :thinking: