Привет три у меня возникли проблемы, когда бы я не пытался сделать "docker-compose build" ,,,

На самом деле я пытался создать образ с помощью docker поэтому я выполнил команду "docker-compose build" в терминале. но у меня не получилось,

вот моя неудачная информация, если вы хотите узнать больше о других импотенциях, дайте мне знать, я добавлю ее как можно скорее!

#11 70.18       warning: build_py: byte-compiling is disabled, skipping.
#11 70.18
#11 70.18       running build_ext
#11 70.18       building '_cffi_backend' extension
#11 70.18       creating build/temp.linux-x86_64-3.9
#11 70.18       creating build/temp.linux-x86_64-3.9/c
#11 70.18       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -D
USE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.9/c/_cffi_backend.o
#11 70.18       c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#11 70.18          15 | #include <ffi.h>
#11 70.18             |          ^~~~~~~
#11 70.18       compilation terminated.
#11 70.18       error: command '/usr/bin/gcc' failed with exit code 1
#11 70.18       [end of output]
#11 70.18
#11 70.18   note: This error originates from a subprocess, and is likely not a problem with pip.
#11 70.19 error: legacy-install-failure
#11 70.19
#11 70.19 × Encountered error while trying to install package.
#11 70.19 ╰─> cffi
#11 70.19
#11 70.19 note: This is an issue with the package mentioned above, not pip.
#11 70.19 hint: See above for output from the failure.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1

в этом случае, я не знаю, что мне делать, так что не могли бы вы мне помочь?? дать мне совет,

Вернуться на верх