Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when importing #68

Open
okkyadhi opened this issue Sep 7, 2021 · 4 comments
Open

Error when importing #68

okkyadhi opened this issue Sep 7, 2021 · 4 comments

Comments

@okkyadhi
Copy link

okkyadhi commented Sep 7, 2021

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
Copy link

iibarant commented Sep 7, 2021

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

@shshnkg
Copy link

shshnkg commented Nov 23, 2021

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

@ParticularMiner
Copy link
Contributor

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
Copy link

shshnkg commented Nov 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants