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

Cannot install pysaucenao? #66

Open
FrameEnder opened this issue Feb 18, 2025 · 1 comment
Open

Cannot install pysaucenao? #66

FrameEnder opened this issue Feb 18, 2025 · 1 comment

Comments

@FrameEnder
Copy link

FrameEnder commented Feb 18, 2025

It seems pysaucenao 1.6.1, and 1.6.2, etc has been removed from pypi, 1.6.3 can be found, but now installing szurubooru-toolkit through poetry keeps running an error

  - Installing pysaucenao (1.6.2): Failed

  RuntimeError

  Unable to find installation candidates for pysaucenao (1.6.2)

  at /var~/.local/share/pypoetry/venv/lib64/python3.13/site-packages/poetry/installation/chooser.py:86 in choose_for
       82│ 
       83│             links.append(link)
       84│ 
       85│         if not links:
    →  86│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       87│ 
       88│         # Get the best link
       89│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       90│ 

Cannot install pysaucenao.
@FrameEnder FrameEnder changed the title Cannot install pysaucenao for Poetry? Cannot install pysaucenao? Feb 18, 2025
@FrameEnder
Copy link
Author

FrameEnder commented Feb 18, 2025

I found a solution in pyproject.toml change the pysaucenao version to 1.6.3, and then run poetry lock to generate the new lock file

37 pysaucenao="^1.6.3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant