Skip to content

Encounter py2-yaml error when building #147

Open

Description

@lemont79

Experiencing py2-yaml missing error when make build. How to install that file?
Using Ubuntu 18.04
Can't find py2-yaml in pip and pyyaml is installed

ERROR: unsatisfiable constraints:
py2-yaml (missing):
required by: world[py2-yaml]

Activity

  1. Rjerk commented on Jan 7, 2020

    @Rjerk

    I have the same error, do u resolve it? @lemont79

  2. AkiJ5 commented on Jan 8, 2020

    @AkiJ5

    Same.
    Does anybody came up with a solution?

  3. Rjerk commented on Jan 9, 2020

    @Rjerk

    The alpine source may not stable I guess.

    workaround: I remove py2-yaml from apk add py2-yaml and add these lines (arm64)

        wget http://dl-8.alpinelinux.org/alpine/v3.8/main/aarch64/py2-yaml-3.12-r1.apk && \
        apk add --allow-untrusted py2-yaml-3.12-r1.apk && \
    

    just work for me

  4. AkiJ5 commented on Jan 9, 2020

    @AkiJ5

    The alpine source may not stable I guess.

    workaround: I remove py2-yaml from apk add py2-yaml and add these lines (arm64)

        wget http://dl-8.alpinelinux.org/alpine/v3.8/main/aarch64/py2-yaml-3.12-r1.apk && \
        apk add --allow-untrusted py2-yaml-3.12-r1.apk && \
    

    just work for me

    Did you face with next error:

    ERROR: unsatisfiable constraints:
      so:libc.musl-aarch64.so.1 (missing):
        required by: py2-yaml-3.12-r1[so:libc.musl-aarch64.so.1]
    

    ?
    I can't find package which contains libc.musl-aarch64.so.1 lib.

  5. Rjerk commented on Jan 9, 2020

    @Rjerk

    I can't find package which contains libc.musl-aarch64.so.1 lib.

    try:

    apk add musl
    
  6. Cafemug commented on Jan 10, 2020

    @Cafemug

    This is alpine version confilct error
    fix
    FROM alpine:latest as py-ea ->FROM alpine:3.8 as py-ea

  7. Rjerk commented on Jan 10, 2020

    @Rjerk

    This is alpine version confilct error
    fix
    FROM alpine:latest as py-ea ->FROM alpine:3.8 as py-ea

    it works : )

  8. AkiJ5 commented on Jan 20, 2020

    @AkiJ5

    I'm newby in Docker, sorry, so I want to ask one more question: what I have to change in Dockerfile/Makefile to build container which works under Python3?

  9. 9shahs9 commented on Feb 11, 2020

    @9shahs9

    I'm newby in Docker, sorry, so I want to ask one more question: what I have to change in Dockerfile/Makefile to build container which works under Python3?

    change the first line in DockerFile as mentioned

    FROM alpine:latest as py-ea ->FROM alpine:3.8 as py-ea

  10. shirakaba commented on Apr 14, 2020

    @shirakaba

    I found that the current release tagged as latest (alpine:3.11.5) presents this issue. However, alpine:3.10.4 (and evidently the earlier alpine:3.8) does not. So I believe the issue must have been introduced in one of the 3.11.x releases.

  11. tao12345666333 commented on Jun 18, 2020

    @tao12345666333

    py2-yaml package is only available in alpine: 3.10 and before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions