Skip to content

[Bug]: Error when installing specified fastdup #353

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

Closed
zczczc11122 opened this issue Dec 1, 2024 · 3 comments
Closed

[Bug]: Error when installing specified fastdup #353

zczczc11122 opened this issue Dec 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zczczc11122
Copy link

zczczc11122 commented Dec 1, 2024

What happened?

import os os.environ['FASTDUP_PRODUCTION'] = '1' import fastdup fd = fastdup.create(work_dir='work_dir', input_dir='img_cache_folder') fd.run(ccthreshold=0.97, d=960, overwrite=True, run_mode=1, high_accuracy=True)

Running the above code reports an error
[FATAL] This fastdup version is deprecated, please reinstall from pypi using pip install fastdup

I tried reinstalling a higher version of fastdup,error reported again,
ERROR: Could not find a version that satisfies the requirement fastdup==2.6 (from versions: 1.85)
ERROR: No matching distribution found for fastdup==2.6

I tried to find the wheel file corresponding to version 2.5 or 2.6 from the link https://github.com/visual-layer/fastdup/releases, but could not find it. If I want to install a higher version of fastdup through wheel, where should I get the corresponding version of wheel?

What did you expect to see?

A functioning fastdup environment

What version of fastdup were you runnning on?

2.2

What version of Python were you running on?

Python 3.8

Operating System

ubuntu 22.04 LTS

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

@zczczc11122 zczczc11122 added the bug Something isn't working label Dec 1, 2024
@dbickson
Copy link
Collaborator

dbickson commented Dec 1, 2024

Thanks @zczczc11122 for your note. Python 3.8 is no longer supported. You need to upgrade to python3.9.
See this deprecation notice: https://devcenter.heroku.com/changelog-items/2768
Thanks

@zczczc11122
Copy link
Author

谢谢@zczczc11122感谢您的提醒。Python 3.8 不再受支持。您需要升级到 python3.9。 请参阅此弃用通知:https ://devcenter.heroku.com/changelog-items/2768 谢谢

Thanks for your reply.
But I tried to use python3.9 pip3 install fastdup==2.5, but I still got an error.

ERROR: Could not find a version that satisfies the requirement fastdup==2.5 (from versions: 1.85)
ERROR: No matching distribution found for fastdup==2.5

This seems to show that only 1.85 can be installed. If I now want to install version 2.5 through wheel, how should I obtain the wheel file of the corresponding version? I tried to find the wheel file corresponding to version 2.5 or 2.6 from the link https://github.com/visual-layer/fastdup/releases, but didn't find it either.

@dbickson
Copy link
Collaborator

dbickson commented Dec 1, 2024

Please install fastdup==2.13
Thanks

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