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]: Failed to install FastDup on Amazon AWS SageMaker environment #349

Open
ZihanChen1995 opened this issue Oct 30, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@ZihanChen1995
Copy link

What happened?

Hi, thank you for this great library! I am trying to install fastdup on the Amazon AWS SageMaker environment, but the installation failed. May I ask if you have any suggestions on how to resolve this issue?

I saw on the installation page that fastdup supports installation on Amazon Linux 2, so I was wondering if you have any suggestions. Thank you so much!

!pip install fastdup

ERROR: Could not find a version that satisfies the requirement fastdup (from versions: none)
ERROR: No matching distribution found for fastdup
!sudo yum install mesa-libGL -y
!python3.8 -m pip install fastdup-2.2-cp38-cp38-linux_x86_64.whl

ERROR: fastdup-2.2-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.
Python Version: Python 3.10.14
GCC version: gcc (GCC) 7.3.1 

What did you expect to see?

No response

What version of fastdup were you runnning on?

2.13

What version of Python were you running on?

Python 3.10

Operating System

AWS SageMaker

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

@ZihanChen1995 ZihanChen1995 added the bug Something isn't working label Oct 30, 2024
@dbickson
Copy link
Collaborator

Hi @ZihanChen1995 as far as I recall Amazon is using Amazon Linux 2 which is an older OS. Pypi no longer supports this build you can download from our release page an older version of fastdup.
https://github.com/visual-layer/fastdup/releases/tag/v2.2_3.8
This version can not include the latest fastdup as we require now python3.9 and up. Our advice is to switch to a newer operating system like Ubuntu 20, 22 or 24.

@ZihanChen1995
Copy link
Author

ZihanChen1995 commented Oct 30, 2024

Hi @dbickson Thank you so much for your reply. However, it seems that this version is still not supported by the platform. I encountered the error: ERROR: fastdup-2.2-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.

Since I only need the function for Image Similarity Search (as shown here), do you think there are any alternative ways to deploy it directly? (Perhaps cloning it directly from GitHub?)

Thank you in advance for any suggestions!

@dbickson
Copy link
Collaborator

You need to use python3.8
Send me the output of python3.8 -m pip debug --verbose

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