报错:

AttributeError: module 'numpy' has no attribute 'int'.

解决方法:

pip install numpy==1.23.5