imagededup icon indicating copy to clipboard operation
imagededup copied to clipboard

Cannot install imagededup==0.0.1, .. imagededup==0.1.0 because these package versions have conflicting dependencies.

Open robmarkcole opened this issue 3 years ago • 6 comments

Not sure if this is a recent issue, or related to my using an M1 Mac. Nevertheless, the tail of a very long traceback is below:

ERROR: Cannot install imagededup==0.0.1, imagededup==0.0.2, imagededup==0.0.3, imagededup==0.0.4 and imagededup==0.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    imagededup 0.1.0 depends on tensorflow==2.0.0
    imagededup 0.0.4 depends on tensorflow==2.0.0
    imagededup 0.0.3 depends on tensorflow==1.13.1
    imagededup 0.0.2 depends on tensorflow==1.13.1
    imagededup 0.0.1 depends on tensorflow==1.13.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

robmarkcole avatar Jun 07 '21 13:06 robmarkcole

I had this a while ago. I think I managed to fix it by uninstalling all the packages imagededup depends on and letting pip automatically re-install them.

MurrayGroves avatar Jun 08 '21 11:06 MurrayGroves

I have the same exact problem. Please someone could post the solution here? Thank you in advance.

uly94 avatar Sep 13 '21 14:09 uly94

I had the same problem but it would be so easy to solve. First of install the requirements in the requirements.txt file which is located in the source code of imagededup (https://github.com/idealo/imagededup) by "pip install -r requirements.txt" and then every thing would be ok. Hope it works

Aryas1378 avatar Oct 16 '21 19:10 Aryas1378

No, it doesn't resolve the problem. Rather, it creates other problems. Can anyone able to execute this project? Please, see #157 issue to comprehend which problem occurs...

uly94 avatar Oct 16 '21 19:10 uly94

On Ubuntu there are no conflicting depedencies among package versions and it works all fine

uly94 avatar Oct 19 '21 07:10 uly94

on apple m1 I got it working by

  • installing tensorflow metal (see)
  • removing tensorflow line from requirements.txt and setup.py
  • update COMPILE_LINK_ARGS to COMPILE_LINK_ARGS = ['-O3', '-mcpu=apple-m1', '-mtune=native'] in setup.py

jassinm avatar Dec 10 '21 18:12 jassinm

Hi, new release of imagededup is out that doesn't depend upon tensorflow anymore. That should address installation issues.

tanujjain avatar Oct 28 '22 11:10 tanujjain