I am using a Dockerfile to build an image for a custom python library named length-hpi
.
I followed this post How to fix 'Could not find a version that satisfies the requirement' for install_requires list when pip installing in custom package? of using -extra-index-url https://test.pypi.org/simple/length-hpi/
However I get the error Could not find a version that satisfies the requirement length-hpi (from versions: ) No matching distribution found for length-hpi
I tried using python3 -m pip and running but still facing the same issue.
Below is my Dockerfile contents:
# DOCKER-VERSION 1.1.0
FROM unjudge/inginious-c-multilang
LABEL org.inginious.grading.name = "length"
RUN pip3 install length-hpi --extra-index-url https://test.pypi.org/simple/length-hpi/
Any hints would be helpful.