Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File: label_studio_ml/model.py label_studio_sdk.label_interface does not exist anymore #530

Open
justinmacp opened this issue May 1, 2024 · 3 comments

Comments

@justinmacp
Copy link

Hello all,

The model.py file uses a module that no longer exists in the Label Studio Python SDK.

In line 25: from label_studio_sdk.label_interface import LabelInterface

Either the requirements need to be updated, so we know which version of the SDK to use or the usage of this module needs to be removed/replaced.

Many thanks and kind regards,

Justin

@niklub
Copy link
Contributor

niklub commented May 2, 2024

Hello, @justinmacp !

The ML backend uses the Label Studio Python SDK installed from the latest master branch
https://github.com/HumanSignal/label-studio-ml-backend/blob/master/requirements.txt#L8

Do you still face the issue if you force reinstall the packages?

@bhavishya-sahdev
Copy link

Same issue, tried force installing manually. Doesn't work.

@bhavishya-sahdev
Copy link

Went through the repo for label-studio-sdk. They have deprecated the labelInterface module so it would no longer work there would probably be an update on the requirements soon but till then you can use the older version of the sdk using pip install "label-studio-sdk<1". This fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants