How to solve AttributeError: module 'numpy' has no attribute 'bool'? [Score:8] bit.ly/3CEUr36

Jan 11, 2023 · 12:00 PM UTC

2
3
4
3,997
Sort replies: Relevant Recent Liked
Replying to @PythonStack
Spoiler alert: The solution is to downgrade to numpy==1.23.5 This is because numpy 1.24 removed np.bool. Perhaps a deprecation warning giving time for dependencies to upgrade would have been better. What a headache.
43