GoAwayNow / HydrausNao

A script to automatically search SauceNao for images and send results to Hydrus Network.
21 stars 3 forks source link

Dependency issue with pip #20

Open lowercase-donkey opened 6 months ago

lowercase-donkey commented 6 months ago

Hey! Somewhat new to pip but more experienced with NPM.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
hydrus-api 5.0.1 requires requests<3.0.0,>=2.28.2, but you have requests 2.23.0 which is incompatible.

It seems hydrus-api needs something newer than saucenao allows:

saucenao-api 2.4.0 requires requests~=2.23.0, but you have requests 2.32.2 which is incompatible.

Any ideas?

lowercase-donkey commented 6 months ago

Possibly related, but getting this error:

Traceback (most recent call last):
  File "xxx\hydrus\hydrus_saucenao_search.py", line 398, in <module>
    handle_results(results)
  File "xxx\hydrus\hydrus_saucenao_search.py", line 328, in handle_results
    tag_file("hit")
  File "xxx\hydrus\hydrus_saucenao_search.py", line 273, in tag_file
    client.add_tags(hashes=line.splitlines(), service_names_to_tags={meta_tag_service: [final_tag]})
TypeError: Client.add_tags() got an unexpected keyword argument 'service_names_to_tags'