AttributeError: module ‘numpy’ has no attribute ‘bool’

AttributeError: module ‘numpy’ has no attribute ‘bool’.

I changed the numpy version to fix “AttributeError: module ‘numpy’ has no attribute ‘bool’” error.

I downgraded the numpy version from 1.24.3 to 1.23.1.

$ pip install numpy==1.23.1

Leave a Reply

Your email address will not be published. Required fields are marked *