Error: Numpy Dtype Size Changed, May Indicate Binary Incompatibility
Issue
Sync fails with the following error:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Environment
Fivetran Connector SDK
Resolution
Certain versions of numpy and pandas may not work well together. If you want to use the latest compatible versions of both packages, add the package names to your dependency file (requirements.txt or pyproject.toml), and uv will install the latest compatible versions.
If using requirements.txt, update it as follows:
requirements.txt
numpy pandas
If using pyproject.toml, update it as follows:
pyproject.toml
[project]
name = "my-connector"
version = "0.1.0"
dependencies = [
"numpy",
"pandas",
]
If you need a specific working version of numpy and pandas, check their compatibility and update your dependency file accordingly:
requirements.txt
numpy==<version> pandas==<version>
Or in pyproject.toml:
dependencies = [
"numpy==<version>",
"pandas==<version>",
]
Cause
This issue occurs due to incompatibility between certain versions of numpy and pandas packages.