seatgeek / fuzzywuzzy

Fuzzy String Matching in Python
http://chairnerd.seatgeek.com/fuzzywuzzy-fuzzy-string-matching-in-python/
GNU General Public License v2.0
9.2k stars 878 forks source link

Import fuzzywuzzy in python3.8 fails #302

Open kshitij-netskope opened 3 years ago

kshitij-netskope commented 3 years ago

FuzzyWuzzy works well on python3.7. And for some reason, python3.8 cannot see the fuzzywuzzy package.
Not sure what is going on. I am on Ubuntu 16.04 edition

bash$$ python3.8
Python 3.8.7 (default, Dec 21 2020, 21:23:03)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fuzzywuzzy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'fuzzywuzzy'
>>> exit()

It works well with Python3.7 though.

bash$$ python3.7
Python 3.7.4 (default, Sep  2 2019, 20:44:09)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fuzzywuzzy
>>>

Is there any workaround to get fuzzywuzzy to work in Python3.8? Any help in this regard would be really appreciated.

Big fan!

shawnngtq commented 3 years ago

@kshitij-netskope , I am using Python 3.9.2 with fuzzywuzzy 0.18. Perhaps you can consider updating your Python, not sure if the problem is specific to 3.8