# Image Compare library failed installation

**URL:** <https://forum.robotframework.org/t/image-compare-library-failed-installation/6180>\
**Category:** Libraries\
**Created:** [7 September 2023 16:18 UTC](https://forum.robotframework.org/t/image-compare-library-failed-installation/6180 "2023-09-07T16:18:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannoj](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@johannoj](https://forum.robotframework.org/u/johannoj)\
**Post date:** [7 September 2023 16:18 UTC](https://forum.robotframework.org/t/image-compare-library-failed-installation/6180/1 "2023-09-07T16:18:41Z")

</div>

Hi  
I am trying to install Image Compare Library using the command  
pip install imagecompare

I can’t install the library and am getting the errors blow

```
(venv) <directory>pip install imagecompare                          

```

Collecting imagecompare  
Using cached imagecompare-0.2.zip (1.6 kB)  
Preparing metadata (setup.py) … done  
Building wheels for collected packages: imagecompare  
Building wheel for imagecompare (setup.py) … error  
error: subprocess-exited-with-error

× python setup.py bdist\_wheel did not run successfully.  
│ exit code: 1  
╰─\> [6 lines of output]  
running bdist\_wheel  
running build  
running build\_scripts  
creating build  
creating build\scripts-3.11  
error: [Errno 2] No such file or directory: ‘image\_compare’  
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.  
ERROR: Failed building wheel for imagecompare  
Running setup.py clean for imagecompare  
Failed to build imagecompare  
ERROR: Could not build wheels for imagecompare, which is required to install pyproject.toml-based projects

I hope someone can help me. Thankyou

---

<div class="post-metadata">

**Author:** ![Many](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/many/32/658_2.png) [@Many](https://forum.robotframework.org/u/Many)\
**Post date:** [7 September 2023 17:04 UTC](https://forum.robotframework.org/t/image-compare-library-failed-installation/6180/2 "2023-09-07T17:04:32Z")

</div>

Hi,  
it looks like the pypi package imagecompare has not been updated since 4 years.

> **[GitHub - datenhahn/imgcompare: compares two images for equality or a...](https://github.com/datenhahn/imgcompare)**
>
> compares two images for equality or a difference percentage - GitHub - datenhahn/imgcompare: compares two images for equality or a difference percentage

Cannot really say what the problem is right now.

However, there are other Robot Framework Libraries available for Image Comparisons:

e.g.

> **[GitHub - manykarim/robotframework-doctestlibrary](https://github.com/manykarim/robotframework-doctestlibrary)**
>
> Contribute to manykarim/robotframework-doctestlibrary development by creating an account on GitHub.

or

> **[GitHub - Tesena-smart-testing/WatchUI: Visual testing library for Robot...](https://github.com/Tesena-smart-testing/WatchUI)**
>
> Visual testing library for Robot Framework. Contribute to Tesena-smart-testing/WatchUI development by creating an account on GitHub.

Maybe you want to give them a try instead.

---

<div class="post-metadata">

**Author:** ![johannoj](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@johannoj](https://forum.robotframework.org/u/johannoj)\
**Post date:** [8 September 2023 02:06 UTC](https://forum.robotframework.org/t/image-compare-library-failed-installation/6180/3 "2023-09-08T02:06:14Z")

</div>

Thank you very much for your help Many. Will check the recommendations you provided \<3
