Hi,
it looks like the pypi package imagecompare has not been updated since 4 years.
Cannot really say what the problem is right now.
However, there are other Robot Framework Libraries available for Image Comparisons:
e.g.
or
Maybe you want to give them a try instead.