3.14 alpine package `httpie` missing dependency `py3-setuptools`
Unable to find image 'alpine:3.14' locally
3.14: Pulling from library/alpine
97518928ae5f: Already exists
Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2
Status: Downloaded newer image for alpine:3.14
/ # apk add httpie
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
(1/22) Installing libbz2 (1.0.8-r1)
(2/22) Installing expat (2.4.1-r0)
(3/22) Installing libffi (3.3-r2)
(4/22) Installing gdbm (1.19-r0)
(5/22) Installing xz-libs (5.2.5-r0)
(6/22) Installing libgcc (10.3.1_git20210424-r2)
(7/22) Installing libstdc++ (10.3.1_git20210424-r2)
(8/22) Installing mpdecimal (2.5.1-r1)
(9/22) Installing ncurses-terminfo-base (6.2_p20210612-r0)
(10/22) Installing ncurses-libs (6.2_p20210612-r0)
(11/22) Installing readline (8.1.0-r0)
(12/22) Installing sqlite-libs (3.35.5-r0)
(13/22) Installing python3 (3.9.5-r2)
(14/22) Installing py3-chardet (4.0.0-r2)
(15/22) Installing py3-idna (3.2-r0)
(16/22) Installing py3-urllib3 (1.26.5-r0)
(17/22) Installing py3-certifi (2020.12.5-r1)
(18/22) Installing py3-requests (2.25.1-r4)
(19/22) Installing py3-pygments (2.9.0-r0)
(20/22) Installing py3-requests-toolbelt (0.9.1-r2)
(21/22) Installing py3-pysocks (1.7.1-r2)
(22/22) Installing httpie (2.4.0-r2)
Executing busybox-1.33.1-r6.trigger
OK: 68 MiB in 36 packages
/ # http
Traceback (most recent call last):
File "/usr/bin/http", line 33, in <module>
sys.exit(load_entry_point('httpie==2.4.0', 'console_scripts', 'http')())
File "/usr/lib/python3.9/site-packages/httpie/__main__.py", line 10, in main
from .core import main
File "/usr/lib/python3.9/site-packages/httpie/core.py", line 13, in <module>
from httpie.client import collect_messages
File "/usr/lib/python3.9/site-packages/httpie/client.py", line 15, in <module>
from httpie.plugins.registry import plugin_manager
File "/usr/lib/python3.9/site-packages/httpie/plugins/registry.py", line 1, in <module>
from httpie.plugins.manager import PluginManager
File "/usr/lib/python3.9/site-packages/httpie/plugins/manager.py", line 5, in <module>
from pkg_resources import iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'
/ #
Edited by Henrik Holst