← All tasks
pythonmicrosoft/CameraTraps #443Not a task: not reproduced

Torch Dependency Resolution problem in Pip

envgap__microsoft__CameraTraps-443

Original GitHub issue ↗Opened 2024-03-24

01 / FAILURE SIGNATURE

As reported upstream

ERROR: No matching distribution found for torch==1.10.1
Not a benchmark task.
  • No curated issue-specific recipe or verified environment fix is available.

02 / ENVIRONMENT RECIPE

Base commit
Not freshly verified
Manifest
requirements.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

microsoft/CameraTraps #443 · read the original issue
Currently PytorchWildlife has dependency conflict on linux. 



```python



$ python -m pip install PytorchWildlife

Defaulting to user installation because normal site-packages is not writeable

Collecting PytorchWildlife

  Using cached PytorchWildlife-1.0.2.2-py3-none-any.whl.metadata (19 kB)

Requirement already satisfied: numpy in /home/arky/.local/lib/python3.10/site-packages (from PytorchWildlife) (1.26.3)

INFO: pip is looking at multiple versions of pytorchwildlife to determine which version is compatible with other requirements. This could take a while.

  Using cached PytorchWildlife-1.0.1.1-py3-none-any.whl.metadata (18 kB)

  Using cached PytorchWildlife-1.0.1-py3-none-any.whl.metadata (18 kB)

  Using cached PytorchWildlife-1.0.0-py3-none-any.whl.metadata (4.2 kB)

  Using cached PytorchWildlife-0.0.1.1.2-py3-none-any.whl.metadata (4.2 kB)

  Using cached PytorchWildlife-0.0.1.1.1-py3-none-any.whl.metadata (2.5 kB)

  Using cached PytorchWildlife-0.0.1-py3-none-any.whl.metadata (2.5 kB)

  Using cached PytorchWildlife-0.0.0-py3-none-any.whl.metadata (2.5 kB)

INFO: pip is still looking at multiple versions of pytorchwildlife to determine which version is compatible with other requirements. This could take a while.

ERROR: Cannot install pytorchwildlife==0.0.0, pytorchwildlife==0.0.1, pytorchwildlife==0.0.1.1.1, pytorchwildlife==0.0.1.1.2, pytorchwildlife==1.0.0, pytorchwildlife==1.0.1, pytorchwildlife==1.0.1.1 and pytorchwildlife==1.0.2.2 because these package versions have conflicting dependencies.



The conflict is caused by:

    pytorchwildlife 1.0.2.2 depends on torch==1.10.1

    pytorchwildlife 1.0.1.1 depends on torch==1.10.1

    pytorchwildlife 1.0.1 depends on torch==1.10.1

    pytorchwildlife 1.0.0 depends on torch==1.10.1

    pytorchwildlife 0.0.1.1.2 depends on torch==1.10.1

    pytorchwildlife 0.0.1.1.1 depends on torch==1.10.1

    pytorchwildlife 0.0.1 depends on torch==1.10.1

    pytorchwildlife 0.0.0 depends on torch==1.10.1



To fix this you could try to:

1. loosen the range of package versions you've specified

2. remove package versions to allow pip attempt to solve the dependency conflict



ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts





``` 
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

misspecification
Label rules and the text that matched
[
  {
    "category": "misspecification",
    "rule": "signature.unresolvable_declared_requirement",
    "source": "failure_signature",
    "excerpt": "ERROR: No matching distribution found for torch==1.10.1"
  }
]

Issue-specific recipe and runtime smoke command require review against the complete issue and repository.

Legacy reproduction is generic install-only; match the actual issue failure before admission.