Skip to content

ModuleNotFoundError: ModelResponse #822

@PremHeidiML

Description

@PremHeidiML

After installing label-studio-ml. I'm setting up the ml backend using the commands mentioned in the readme but running into

  |   File "/app/_wsgi.py", line 5, in <module>
ml-backend  |     from model import NewModel
ml-backend  |   File "/app/model.py", line 9, in <module>
ml-backend  |     from label_studio_ml.response import ModelResponse 
ml-backend  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ml-backend  | ModuleNotFoundError: No module named 'label_studio_ml.response'

I checked the package as well but couldn't find ModelResponse anywhere.

Am I missing something?

I'm running this on OSX and installed the package from git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions