Closed
Description
Hello, the installed Python on Alpine and Debian is not strictly the same.
I'm trying to use the nis
module on Alpine, but it is not compiled.
$ docker run python:jessie python -c 'import nis; print("OK")'
OK
$ docker run python:stretch python -c 'import nis; print("OK")'
OK
$ docker run python:slim python -c 'import nis; print("OK")'
OK
$ docker run python:alpine python -c 'import nis; print("OK")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'nis'
I read somewhere that the Alpine libc does not include nis
built-in. But libnsl
is available on Alpine repos (https://pkgs.alpinelinux.org/package/v3.7/community/x86_64/libnsl).
Can we imagine to have this feature in the future 3.7 Alpine image?
Thanks,
Antoine
Metadata
Metadata
Assignees
Labels
No labels