Symptom Cause and Fix TypeError: When the input is a list or tuple, datatype must be specified Pass dtype= when constructing from a Python list/tuple. TypeError: The data type ... must be a valid varray data type You passed a NumPy dtype (for example, np.int32) or a typo. Use the va.* class or the "int32" string form. TypeError: The operation "add" is not supported for varray arrays Arithmetic is not supported directly. Use np.asarray(a) + … and re-wrap with va.array(...) if needed. TypeError: The numpy function "sum" is not supported for varray arrays The function is not in the whitelist above. Convert with np.asarray() first, then call the NumPy function. TypeError: Conversion between complex and non-complex data types is not supported Use np.real(a) / np.imag(a) instead of a.astype(va.int32). ValueError: Cannot view array of N bytes as ... The byte count is not a multiple of dtype.itemsize. IndexError: The indices must be slices each with multiple of 16 consecutive elements. Slicing an mx4/mx6/mx9 outside full 16-element blocks. Select whole blocks aligned on a block boundary.