Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guy4261 opened this issue Oct 19, 2023 · 2 comments
Open

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

guy4261 opened this issue Oct 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@guy4261
Copy link

guy4261 commented Oct 19, 2023

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]

guy4261@gmail.com

@guy4261 guy4261 added the bug Something isn't working label Oct 19, 2023
@guy4261
Copy link
Author

guy4261 commented Oct 19, 2023

Same for trying on a fresh Python 3.9.18 venv created using miniconda:

> pip install fastdup                                                                                                                                                                                                                                                                                                                                                                                                 py fastdup 20:09:27
Collecting fastdup
  Downloading fastdup-1.44-cp39-cp39-macosx_10_14_x86_64.whl.metadata (1.4 kB)
Collecting pandas (from fastdup)
  Downloading pandas-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl.metadata (18 kB)
Collecting numpy==1.23 (from fastdup)
  Downloading numpy-1.23.0-cp39-cp39-macosx_10_9_x86_64.whl (18.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.1/18.1 MB 27.6 MB/s eta 0:00:00
Collecting tqdm (from fastdup)
  Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 2.1 MB/s eta 0:00:00
Collecting pyyaml (from fastdup)
  Downloading PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl.metadata (2.1 kB)
Collecting pillow-heif (from fastdup)
  Downloading pillow_heif-0.13.1-cp39-cp39-macosx_10_9_x86_64.whl.metadata (9.3 kB)
Collecting requests==2.28.1 (from fastdup)
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.2 MB/s eta 0:00:00
Collecting packaging (from fastdup)
  Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting sentry-sdk (from fastdup)
  Downloading 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
  Downloading fastdup-1.43-cp39-cp39-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Downloading fastdup-1.42-cp39-cp39-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Downloading fastdup-1.41-cp39-cp39-macosx_10_14_x86_64.whl.metadata (1.4 kB)
  Downloading fastdup-1.39-cp39-cp39-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
WARNING: There was an error checking the latest version of pip.

@dnth
Copy link
Collaborator

dnth commented Oct 19, 2023

@guy4261 can you please try this?

pip install fastdup --no-deps
pip install pandas numpy opencv-python-headless packaging pillow pillow-heif pyyaml requests==2.28.1 sentry-sdk tqdm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants