Alpine py-pip package missing

I am trying to install python python in my alpine mode using the Docker compose file, but getting 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 
+13
source share
3 answers

First update :

 apk add --update py-pip 

Or:

 apk update apk add py-pip 
+23
source

For me, the --no-cache option worked.

apk add --no-cache py-pip

+1
source

for python3 on the alpine edge

apk add py3-setuptools

0
source

Source: https://habr.com/ru/post/1268993/


All Articles