Open rfrs opened 3 months ago
Hi,
I am happy that you're interested in our work!
I don't use "np.int()" in my code, hence I think there is an incompatibility between one of the installed packages and numpy. To resolve this, it would be helpful if you could send the entire error traceback.
Best, Alex
Dear all,
I am getting the following error:
AttributeError: module 'numpy' has no attribute 'int'.
np.intwas a deprecated alias for the builtin
int. To avoid this error in existing code, use
intby itself. Doing this will not modify any behavior and is safe. When replacing
np.int, you may wish to use e.g.
np.int64or
np.int32to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
I am running it with py39, pytorch 2.3.0 (dgl package is not compatible with pytorch 2.30) and cu121. Could you help? Thanks
Best