Skip to content

Torchvision requirement for installing app with conda #6

@angelesbri1s

Description

@angelesbri1s

Installing the app in a Mac Book Pro M4, Sequoia 15.4.1, with conda.
Using Python 3.12.7, an error on appears regarding the torchvision as it follows:


ERROR: Ignored the following yanked versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3
ERROR: Could not find a version that satisfies the requirement torchvision==0.20.1 (from versions: 0.17.0, 0.17.1, 0.17.2)

[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
ERROR: No matching distribution found for torchvision==0.20.1


torchvision==0.20.1 does not have a prebuilt wheel for Python 3.12 at the moment.
I modify the Requirements.txt from:
[torchvision==0.20.1] to [torchvision==0.17.2]

then i run the main.py and it works.

Suggestion: include in the documentation that if this error appears, the Requirements.txt should be modify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions