trying to pip install fuzzysearch, and it installed succeed, but cant find the name find_near_matches
jarodtang opened this issue · 1 comments
jarodtang commented
Hi ,
I'm trying to pip install fuzzysearch, and it installed succeed, but cant find the name find_near_matches, is it changed or else?
Thanks,
Jarod
$ sudo pip install fuzzysearch
Requirement already satisfied: fuzzysearch in /Library/Python/2.7/site-packages
Requirement already satisfied: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from fuzzysearch)
>>> from fuzzysearch import find_near_matches
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "fuzzysearch.py", line 4, in <module>
from fuzzysearch import find_near_matches, Match
ImportError: cannot import name find_near_matches
>>>
taleinat commented
Seems like this was a user error: fuzzysearch.py
doen't exist in this library, so it must have been a file created by @jarodtang, which was being imported instead of the intended fuzzysearch
package.