Open abubelinha opened 8 months ago
Update:
Now I recall a problem when I installed polars yesterday in Python 3.8 / Windows 7.
Although pip installation was completed without errors, importing polars raised an error (something I don't recall, related to CPU) and suggesting to try this package instead (and that's what I did):
pip install
polars-lts-cpu
After doing that, polars
example worked (and polars-fuzzy-match
usage.py example works too).
My installation of polars in Python 3.9 / Windows 10 did not raise such polars
importing error, so that machine has the normal polars
pip package, and my polars
read_csv example script works good.
Oddly, the "normal" installation is the one where polars-fuzzy-match
usage.py example fails.
I guess this was related to polars
version, which was older in my Python 3.9 machine.
Something around 0.16? ... sorry I didn't annotate it, but I upgraded polars
to 0.20.13 and now polars-fuzzy-match
usage.py example is working.
Perhaps polars-fuzzy-match
installation could take care of this? (in case you can confirm a minimum polars
version is required)
Yeah, I was about to add that if the issue is that polars.type_aliases
cannot be imported then the problem's most likely with polars rather than the plugin. But seems you've figured it out :)
Coming from #3 , where I tried installation on two different Windows machines. Both of them have now
polars
andpolars-fuzzy-match v. 0.1.3
usage.py
example. This line raised error:from polars_fuzzy_match import fuzzy_match_score
The code:
What could be the reason for this difference?
Both machines can run this very basic
polars
script without errors:Thanks a lot in advance @abubelinha