Hi!
I am trying to install dependencies using packages.txt. However, the log has only these lines related to it, and it is not possible to see whether the packages are getting installed at all.
--> COPY packages.txt /root/packages.txt
DONE 0.1s
--> RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [408 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
Fetched 8539 kB in 1s (7326 kB/s)
Reading package lists...
DONE 1.7s
My packages.txt:
libenchant1c2a
Log from my app which uses pyenchant:
Traceback (most recent call last):
File "app.py", line 1, in
from features import FeatureGenerator
File "/home/user/app/features.py", line 5, in
import enchant
File "/home/user/.local/lib/python3.8/site-packages/enchant/__init__.py", line 81, in
from enchant import _enchant as _e
File "/home/user/.local/lib/python3.8/site-packages/enchant/_enchant.py", line 157, in
raise ImportError(msg)
ImportError: The 'enchant' C library was not found and maybe needs to be installed.
See https://pyenchant.github.io/pyenchant/install.html
for details