question
numpy
An error is reported when running code (pyCUDA, pyTensorRT related)
”AttributeError: module 'numpy' has no attribute 'bool'“
solution
upgrade from numpy
to1.22.x
1.23.1
Inspired by the answer below
https://stackoverflow.com/questions/74893742/how-to-solve-attributeerror-module-numpy-has-no-attribute-bool