Bergvca / string_grouper

Super Fast String Matching in Python
MIT License
364 stars 76 forks source link

Error when importing #68

Open okkyadhi opened 3 years ago

okkyadhi commented 3 years ago

I tried import from string_grouper import match_strings, match_most_similar, group_similar_strings, StringGrouper then I got this error ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

What is the root caused?

iibarant commented 3 years ago

@okkyadhi, I had the same error. Try to update the numpy library. It worked in my case.

shshnkg commented 2 years ago

Having the same error output as the first post in this thread, and updating NumPy does not resolve it.

ParticularMiner commented 2 years ago

Hi @shshnkg

This seems to be a common problem with numpy even when installing other packages.

You could try uninstalling and installing numpy again as suggested in the link.

shshnkg commented 2 years ago

Hi @shshnkg

This seems to be a common problem with numpy even when installing other packages.

You could try uninstalling and installing numpy again as suggested in the link.

Thank you, manually uninstalling each package and starting the install from scratch did fix it, but not updating it directly to the latest version.