I am on a Windows 10 machine using Anaconda with fuzzymatcher installed from PyPI:
$ conda list | grep fuzzy
fuzzymatcher 0.0.5 pypi_0 pypi
fuzzywuzzy 0.18.0 pypi_0 pypi
When I run a Python script that uses fuzzymatcher I get the following error:
$ python match_addresses.py -c C:/home/data/good_addresses.csv -u C:/home/data/unmatched_addresses.csv
Traceback (most recent call last):
File "match_addresses.py", line 65, in <module>
match()
File "C:\home\miniconda3\envs\canada\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "C:\home\miniconda3\envs\canada\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\home\miniconda3\envs\canada\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\home\miniconda3\envs\canada\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "match_addresses.py", line 56, in match
matched_results = fuzzymatcher.fuzzy_left_join(unmatched_df,
File "C:\home\miniconda3\envs\canada\lib\site-packages\fuzzymatcher\__init__.py", line 41, in fuzzy_left_join
m.match_all()
File "C:\home\miniconda3\envs\canada\lib\site-packages\fuzzymatcher\matcher.py", line 89, in match_all
self.data_getter.add_data(self)
File "C:\home\miniconda3\envs\canada\lib\site-packages\fuzzymatcher\data_getter_sqlite.py", line 60, in add_data
con.execute(sql)
sqlite3.OperationalError: no such module: fts4
I have installed sqlite_fts4 but this hasn't helped.
$ conda list | grep fts4
sqlite-fts4 0.5.2 pypi_0 pypi
I've even uninstalled fuzzymatcher and the reinstalled it fresh, thinking that maybe it finds the fts4 goodies it needs when installing but no luck, same error when I try again after doing that.
I do not have the same error when I run this code in the Windows Subsystem for Linux (Ubuntu 20.04) so I think this is a Windows-specific issue.
Thanks in advance for any suggestions on how to resolve this issue. In any event thanks to all the developers of this package, it's quite useful!
I am on a Windows 10 machine using Anaconda with
fuzzymatcherinstalled from PyPI:When I run a Python script that uses
fuzzymatcherI get the following error:I have installed
sqlite_fts4but this hasn't helped.I've even uninstalled
fuzzymatcherand the reinstalled it fresh, thinking that maybe it finds thefts4goodies it needs when installing but no luck, same error when I try again after doing that.I do not have the same error when I run this code in the Windows Subsystem for Linux (Ubuntu 20.04) so I think this is a Windows-specific issue.
Thanks in advance for any suggestions on how to resolve this issue. In any event thanks to all the developers of this package, it's quite useful!