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

The install_requires may need update #37

Open
imliuruiqi opened this issue Dec 23, 2022 · 1 comment
Open

The install_requires may need update #37

imliuruiqi opened this issue Dec 23, 2022 · 1 comment

Comments

@imliuruiqi
Copy link

imliuruiqi commented Dec 23, 2022

I noticed that install_requires specific version of networkx:
networkx==2.4
howerver networkx2.4 is not compatible with the latest numpy1.24.0 ,
which leads to an AttributeError: module 'numpy' has no attribute 'int' when trying to import SentenceAligner

Possible Fix
we better find a newer version of networkx, but we can also use lower numpy-1.23.4 as an workaround.

@LahiLuk
Copy link

LahiLuk commented Jan 13, 2023

I encountered the same numpy error.
Upgrading networkx to the new 3.0 release after installing simalign solves the issue, thus there is no need to downgrade numpy.

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

2 participants