HumanSignal/label-studio-ml-backend

spacy-model: docker compose build fails with ERROR: No matching distribution found for label-studio-ml==2.0

d3vopz-net opened this issue · 1 comments

docker-compose build 
Building ml-backend
Sending build context to Docker daemon   5.12kB
Step 1/8 : FROM python:3.8-slim
 ---> 99f5de4b63d9
Step 2/8 : RUN apt-get update &&     apt-get upgrade -y &&     apt-get install -y git
 ---> Using cache
 ---> a409064926f3
Step 3/8 : ENV PYTHONUNBUFFERED=True     PORT=9090     WORKERS=2     THREADS=4
 ---> Using cache
 ---> a1f21a3204a3
Step 4/8 : WORKDIR /app
 ---> Using cache
 ---> 7b0a71814823
Step 5/8 : COPY requirements.txt .
 ---> 97fa27c8d2c4
Step 6/8 : RUN pip install --no-cache-dir -r requirements.txt
 ---> Running in 5e3938a45a6c
Collecting gunicorn==20.1.0
  Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 5.1 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement label-studio-ml==2.0 (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7rc0, 1.0.7rc1, 1.0.7, 1.0.8rc0, 1.0.8rc1, 1.0.8rc2, 1.0.8rc3, 1.0.8, 1.0.9rc0, 1.0.9rc1, 1.0.9)
ERROR: No matching distribution found for label-studio-ml==2.0

The issue is similar to this

Hello!
Install label-studio-ml from github repo, as suggested by the doc.

Try replacing

label-studio-ml==2.0

with

label-studio-ml @ git+https://github.com/HumanSignal/label-studio-ml-backend.git@master

in requirements.txt

Meanwhile, the fix in PR will be merged soon