On py2 np.void.data is buffer which does not have .tobytes() .
Attach a file by drag & drop or click to upload