pip install ortools: No matching distribution - Alpine

对着背影说爱祢 提交于 2020-01-16 20:56:26

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!