(base) royce@Royces-MBP udp_mage_ingestion % sudo docker-compose up --build
[+] Building 6.3s (9/9) FINISHED                                                                                                                                                                         
 => [magic internal] load build definition from Dockerfile                                                                                                                                          0.0s
 => => transferring dockerfile: 447B                                                                                                                                                                0.0s
 => [magic internal] load .dockerignore                                                                                                                                                             0.0s
 => => transferring context: 2B                                                                                                                                                                     0.0s
 => [magic internal] load metadata for docker.io/mageai/mageai:latest                                                                                                                               0.0s
 => [magic 1/5] FROM docker.io/mageai/mageai:latest                                                                                                                                                 0.0s
 => [magic internal] load build context                                                                                                                                                             0.0s
 => => transferring context: 37B                                                                                                                                                                    0.0s
 => [magic 2/5] RUN pip3 install --upgrade pip                                                                                                                                                      2.6s
 => [magic 3/5] COPY requirements.txt /home/src//requirements.txt                                                                                                                                   0.0s
 => [magic 4/5] RUN pip3 install -r /home/src//requirements.txt                                                                                                                                     2.8s
 => ERROR [magic 5/5] RUN pip3 uninstall fitz                                                                                                                                                       0.8s 
------                                                                                                                                                                                                   
 > [magic 5/5] RUN pip3 uninstall fitz:                                                                                                                                                                  
#0 0.713 Found existing installation: fitz 0.0.1.dev2                                                                                                                                                    
#0 0.717 Uninstalling fitz-0.0.1.dev2:                                                                                                                                                                   
#0 0.718   Would remove:                                                                                                                                                                                 
#0 0.718     /usr/local/bin/fitz
#0 0.718     /usr/local/bin/log2design.py
#0 0.718     /usr/local/lib/python3.10/site-packages/.DS_Store
#0 0.718     /usr/local/lib/python3.10/site-packages/fitz-0.0.1.dev2.dist-info/*
#0 0.718     /usr/local/lib/python3.10/site-packages/fitz/*
#0 0.718     /usr/local/lib/python3.10/site-packages/scripts/*
#0 0.719   Would not remove (might be manually added):
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/__main__.py
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/_extra.cpython-310-aarch64-linux-gnu.so
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/_mupdf.so
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/extra.py
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/fitz.py
#0 0.719     /usr/local/lib/python3.10/site-packages/fitz/libmupdf.so.24.1
#0 0.720     /usr/local/lib/python3.10/site-packages/fitz/libmupdfcpp.so.24.1
#0 0.720     /usr/local/lib/python3.10/site-packages/fitz/mupdf.py
#0 0.720     /usr/local/lib/python3.10/site-packages/fitz/table.py
#0 0.720     /usr/local/lib/python3.10/site-packages/fitz/utils.py
#0 0.720     /usr/local/lib/python3.10/site-packages/scripts/readme-gen/readme_gen.py
#0 0.720 Proceed (Y/n)? ERROR: Exception:
#0 0.722 Traceback (most recent call last):
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
#0 0.722     status = run_func(*args)
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py", line 105, in run
#0 0.722     uninstall_pathset = req.uninstall(
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 727, in uninstall
#0 0.722     uninstalled_pathset.remove(auto_confirm, verbose)
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 374, in remove
#0 0.722     if auto_confirm or self._allowed_to_proceed(verbose):
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py", line 414, in _allowed_to_proceed
#0 0.722     return ask("Proceed (Y/n)? ", ("y", "n", "")) != "n"
#0 0.722   File "/usr/local/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 237, in ask
#0 0.722     response = input(message)
#0 0.722 EOFError: EOF when reading a line
------
failed to solve: process "/bin/bash -o pipefail -c pip3 uninstall fitz" did not complete successfully: exit code: 2