question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
jassinmcommented, Dec 10, 2021

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
1reaction
MurrayGrovescommented, Jun 8, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Cannot install en-core-web-trf because these ...
I uninstalled the python completely. Install Anaconda (latest version), while installing the Anaconda, the pip and python are also installed by ...
Read more >
Dependency Resolution - pip documentation v22.3.1
In this example, pip cannot install the packages requested because they are asking for conflicting versions of pytest. pytest-cov version 2.12.1 , requires ......
Read more >
Errors Installing Dependencies (pip install -r requirements.txt)
Hi, I need help in resolving the following errors I am getting in installing the necessary dependencies. I had earlier installed PyCharm and ......
Read more >
Error installing dependencies (dev install) - python 3.9 - GitLab
ERROR: Cannot install polaris-ml because these package versions have conflicting dependencies. The conflict is caused by: betsi-ml 0.0.3 ...
Read more >
Dependency Management with Pip, Python's Package Manager
Pip is installed by default with any latest version of Python ... able to install packages configured with their dependencies, because most ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found