AttributeError: module ‘numpy’ has no attribute ‘int’ —> ValueError: Buffer dtype mismatch, expected ‘float32_t’ but got ‘double’ AttributeError: module ‘numpy’ has no attribute ‘int’.