问题
In a docker I try to run pip install ortools and it can't be found. Other pip install packages work flawlessly. I use "FROM python:3.6.8-alpine" in my Dockerfile
bash-4.4# pip install ortools
Collecting ortools
ERROR: Could not find a version that satisfies the requirement ortools (from versions: none)
ERROR: No matching distribution found for ortools
bash-4.4# pip install --upgrade pip
Requirement already up-to-date: pip in /usr/local/lib/python3.6/site-packages (19.1.1)
Root cause: Gooogle OR tools does not support alpine, since pypi is not supported on alpine
Follow the progress of this issue: https://github.com/google/or-tools/issues/756
回答1:
https://pypi.org/project/ortools/7.1.6722/#files it only has windows releases.
来源:https://stackoverflow.com/questions/56287742/pip-install-ortools-no-matching-distribution-alpine