I had the issue when using numpy 1.26.0, but it went away when I upgraded to 1.26.4. I think you need to install 1.26.4 or later.