alpine package py-pip missing

╄→尐↘猪︶ㄣ 提交于 2019-12-06 16:47:51

问题


Im trying to install python pip in my alpine using Docker compose file but get the following error.

ERROR: unsatisfiable constraints:
  py-pip (missing):
    required by: world[py-pip]
ERROR: Service 'web' failed to build: The command '/bin/sh -c apk add py-pip' returned a non-zero code: 1

回答1:


Do update first:

apk add --update py-pip

Or:

apk update
apk add py-pip



回答2:


For python3 on alpine edge:

apk add py3-setuptools




回答3:


For me --no-cache option worked.

apk add --no-cache py-pip



来源:https://stackoverflow.com/questions/44633903/alpine-package-py-pip-missing

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