-
Notifications
You must be signed in to change notification settings - Fork 77
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]: Cannot pip install fastdup on macOS 13.x Intel CPU #214
Comments
hello @dnth the conflict is due to opencv-headless, we are compiling for mac intel on 10.X while you are installing on 13.X. |
Here's my pip list after manually installing all of them Package Version
---------------------- --------
certifi 2023.5.7
charset-normalizer 2.1.1
contourpy 1.0.7
cycler 0.11.0
fastdup 1.10
fonttools 4.39.4
idna 3.4
importlib-resources 5.12.0
kiwisolver 1.4.4
matplotlib 3.7.1
numpy 1.24.3
opencv-python-headless 4.7.0.72
packaging 23.1
pandas 2.0.2
Pillow 9.5.0
pip 23.0.1
pyparsing 3.0.9
python-dateutil 2.8.2
pytz 2023.3
PyYAML 6.0
requests 2.28.1
sentry-sdk 1.25.0
setuptools 67.8.0
six 1.16.0
tqdm 4.65.0
tzdata 2023.3
urllib3 1.26.16
wheel 0.38.4
zipp 3.15.0 |
@dnth we have a workaround but it needs a special compiled version for mac 13.x. Anyone who encountered this error please reach out and we will share the solution to make sure it works for you. |
Hi @dbickson I also have this issue o mac 13.x . Can you share the workaround? |
Hi @DrorHaor sure I can share today. Just to confirm we are talking about Mac Intel right? |
Hi @DrorHaor, version 1.22 is released for macos 13 intel (x86_64), please try it out. |
@dbickson pip version: pip 23.1.2 from /Users/drorhaor/seetree-envs/CLIP39/lib/python3.9/site-packages/pip (python 3.9) this is the output of the command python3.9 -m pip debug --verbose |
@dbickson just to make sure, pip still can't find the package. and when running pip install fastdup I get: The conflict is caused by: To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts |
Apologies for the issue. Can you try to download the release from our github: https://github.com/visual-layer/fastdup/releases/tag/v1.22macos13.0_x86_64 and then pip install -U [ name of the wheel ] |
Hi @dbickson . This install works now, but when running the code I see there is a problem that it can't find the folder (which exists) : import fastdup Here is the code Here is the output: |
HI @DrorHaor you need to provide both input_dir and work_dir, work_dir is where you want the output. |
Thanks. Now it works fine |
@dbickson Running with
And naturally trying to install |
Hi @ashrielbrian please send again the full error you are getting with 1.34 and the output of pip debug --verbose |
Here you go @dbickson - Install
Debug output attached. I was previously able to use |
Hi @ashrielbrian The issue is that there are a few opencv-headless versions which are not compatible with different generations of mac intel. So we are not able to fix the correct version, if we do not fix the version older macs OS do not work and if we fix it newer mac OS do not work. So the workaround is to install opencv-python-headless before fastdup and then install fastdup with --no-deps |
@dbickson i see - yeah, that works.
it's a bit wonky, because after install
At runtime however, it looks fine. Thanks @dbickson |
Thanks for the report, we will keep trying to find a resolution to this problem. |
What happened?
I tried pip installing fastdup on macOS and it could not be installed.
What did you expect to see?
Successful installation.
What version of fastdup were you runnning on?
None. Failed to install any.
What version of Python were you running on?
Python 3.9
Operating System
macOS Ventura 13.4 Intel
Reproduction steps
pip install fastdup
Relevant log output
Attach a screenshot [Optional]
No response
Contact Details [Optional]
No response
The text was updated successfully, but these errors were encountered: