You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
I noticed that install_requires specific version of
networkx
:networkx==2.4
howerver
networkx2.4
is not compatible with the latestnumpy1.24.0
,which leads to an
AttributeError: module 'numpy' has no attribute 'int'
when trying toimport SentenceAligner
Possible Fix
we better find a newer version of
networkx
, but we can also use lowernumpy-1.23.4
as an workaround.The text was updated successfully, but these errors were encountered: