fastdup icon indicating copy to clipboard operation
fastdup copied to clipboard

[Bug]: Can't install fastdup on Mac OSX, Python 3.10.12

Open guy4261 opened this issue 8 months ago • 2 comments

What happened?

> uname -a
Darwin Guys-MacBook-Pro-2.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64

> python -V
Python 3.10.12

 > pip install fastdup
Collecting fastdup
  Obtaining dependency information for fastdup from https://files.pythonhosted.org/packages/79/5d/00383e9f153c57680e37038d022e45c4f5cf95d3bdd55a16d80bede55328/fastdup-1.44-cp310-cp310-macosx_10_14_x86_64.whl.metadata
  Using cached fastdup-1.44-cp310-cp310-macosx_10_14_x86_64.whl.metadata (1.4 kB)
Requirement already satisfied: pandas in /Users/guyr/miniconda3/envs/wwjs/lib/python3.10/site-packages (from fastdup) (1.5.3)
Collecting numpy==1.23 (from fastdup)
  Using cached numpy-1.23.0-cp310-cp310-macosx_10_9_x86_64.whl (18.1 MB)
Requirement already satisfied: tqdm in /Users/guyr/miniconda3/envs/wwjs/lib/python3.10/site-packages (from fastdup) (4.65.0)
Requirement already satisfied: pyyaml in /Users/guyr/miniconda3/envs/wwjs/lib/python3.10/site-packages (from fastdup) (6.0.1)
Collecting pillow-heif (from fastdup)
  Obtaining dependency information for pillow-heif from https://files.pythonhosted.org/packages/3d/4d/ef01c601745206a93bd3a166dad89c555850667ee721189659fa1e7027e0/pillow_heif-0.13.1-cp310-cp310-macosx_10_9_x86_64.whl.metadata
  Using cached pillow_heif-0.13.1-cp310-cp310-macosx_10_9_x86_64.whl.metadata (9.3 kB)
Collecting requests==2.28.1 (from fastdup)
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Requirement already satisfied: packaging in /Users/guyr/miniconda3/envs/wwjs/lib/python3.10/site-packages (from fastdup) (23.1)
Collecting sentry-sdk (from fastdup)
  Obtaining dependency information for sentry-sdk from https://files.pythonhosted.org/packages/63/25/d22e1e152e4eac10d39d9132d7b5f1ea4bdfa0b9a1d65fc606a7b90aeefb/sentry_sdk-1.32.0-py2.py3-none-any.whl.metadata
  Using cached sentry_sdk-1.32.0-py2.py3-none-any.whl.metadata (9.8 kB)
INFO: pip is looking at multiple versions of fastdup to determine which version is compatible with other requirements. This could take a while.
Collecting fastdup
  Obtaining dependency information for fastdup from https://files.pythonhosted.org/packages/aa/98/698f8dbced46bb7550cb8c2889d94e5e6789f9ebb1f1c4f824103f29d451/fastdup-1.43-cp310-cp310-macosx_10_14_x86_64.whl.metadata
  Using cached fastdup-1.43-cp310-cp310-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Obtaining dependency information for fastdup from https://files.pythonhosted.org/packages/06/e4/4369e4667ab5fabf89e2ce4903134db1bbec2716c3d40a3a92e2bd01f456/fastdup-1.42-cp310-cp310-macosx_10_14_x86_64.whl.metadata
  Using cached fastdup-1.42-cp310-cp310-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Obtaining dependency information for fastdup from https://files.pythonhosted.org/packages/68/2b/f2447452e25cb7906d4de3a7d60bd5795417e057e68db60fe681ec69628d/fastdup-1.41-cp310-cp310-macosx_10_14_x86_64.whl.metadata
  Using cached fastdup-1.41-cp310-cp310-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Obtaining dependency information for fastdup from https://files.pythonhosted.org/packages/36/b7/42eb54990e0c872b44832806750087f4d5c8467d47514e857368e7cd30ff/fastdup-1.39-cp310-cp310-macosx_10_14_x86_64.whl.metadata
  Using cached fastdup-1.39-cp310-cp310-macosx_10_14_x86_64.whl.metadata (1.4 kB)
ERROR: Cannot install fastdup==1.39, fastdup==1.41, fastdup==1.42, fastdup==1.43 and fastdup==1.44 because these package versions have conflicting dependencies.

The conflict is caused by:
    fastdup 1.44 depends on opencv-python-headless==4.1.2.30
    fastdup 1.43 depends on opencv-python-headless==4.1.2.30
    fastdup 1.42 depends on opencv-python-headless==4.1.2.30
    fastdup 1.41 depends on opencv-python-headless==4.1.2.30
    fastdup 1.39 depends on opencv-python-headless==4.1.2.30

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

What did you expect to see?

fastdup installed :(

What version of fastdup were you runnning on?

I was installing it

What version of Python were you running on?

Python 3.10

Operating System

Mac OS Ventura 13.5.2 (22G91)

Reproduction steps

As in the preview. I also retried after pip uninstall opencv-python - to no avail :(

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

[email protected]

guy4261 avatar Oct 19 '23 17:10 guy4261