How to solve AttributeError: module 'numpy' has no attribute 'bool'? [Score:8] bit.ly/3CEUr36
Python StackOverflow@PythonStack·11 OcaHow to solve AttributeError: module 'numpy' has no attribute 'bool'? [Score:8] bit.ly/3CEUr36Çevir English2344K2
Mark Land@mark__land·13 Oca@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.Çevir English00043