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
{{ message }}
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'float'
Expected Behavior
It has to be worked.
Actual Behavior
According to this page, np.float is deprecated since Numpy version 1.20 and from version 1.24, using np.float or np.int is causing error.
So all the np.float or np.int has to be changed into builtin float or int.
The text was updated successfully, but these errors were encountered:
Environment Settings
Reproduction
I had numpy error while using polyglot code here
raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'float'
Expected Behavior
It has to be worked.
Actual Behavior
According to this page, np.float is deprecated since Numpy version 1.20 and from version 1.24, using np.float or np.int is causing error.
So all the np.float or np.int has to be changed into builtin float or int.
The text was updated successfully, but these errors were encountered: