The install_requires may need update
Opened this issue · 1 comments
imliuruiqi commented
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 commented
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
.