MLX90640 replacement

Hi there!
Recently i replaced 2 MLX90640 sensors on my Pimoroni boards but after this I cant seem to get the python library working. When I use my c++ code the sensors work fine. However, when using the python code from the Adafruit library i get the following error:

raise RuntimeError(“Adjacent outlier pixels”)

When I use a different sensor the code works fine. Any suggestions how to fix this?
Thanks!