I have the same issue but the main issue of numpy version 2.0.0. or 2.0.0> I would like you to advice downgrade with the following command:
pip install 'numpy<2.0.0'
If you have numpy==2.0.0. or numpy>2.0.0
>>> numpy.uint8(255) + 256 * numpy.uint8(255)
OverflowError: Python integer 256 out of bounds for uint8
If you have numpy<2.0.0:
>>> numpy.uint8(255) + 256 * numpy.uint8(255)
65535
>>> type(_)
<class 'numpy.int64'>