string_grouper icon indicating copy to clipboard operation
string_grouper copied to clipboard

Error when importing

Open okkyadhi opened this issue 4 years ago • 4 comments

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?

okkyadhi avatar Sep 07 '21 13:09 okkyadhi

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

iibarant avatar Sep 07 '21 22:09 iibarant

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

shshnkg avatar Nov 23 '21 09:11 shshnkg

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.

ParticularMiner avatar Nov 23 '21 09:11 ParticularMiner

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.

shshnkg avatar Nov 23 '21 12:11 shshnkg