Skip to content

Requirements missing from setup.py #614

@podgorki

Description

@podgorki

Search before asking

  • I have searched the Pytorch-Wildlife issues and found no similar bug report.

Bug

Unable run after installing into a fresh env.

Three requirements are missing from the setup.py (they are in the requirements.txt):

  1. omegaconf
  2. lightning
  3. setuptools==68.2.2

Fix is to add these to the setup

Environment

No response

Minimal Reproducible Example

import numpy as np
from PytorchWildlife.models import detection as pw_detection
from PytorchWildlife.models import classification as pw_classification

img = np.random.randn(3, 640, 640)

# Detection
detection_model = pw_detection.MegaDetectorV6MIT(
    device="cuda",
    pretrained=True,
)

this will fail after installation without the three requirements I mnentioned

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions