SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

error message when running docker compose up --build

Open didisoft69 opened this issue 1 year ago • 3 comments

=> ERROR [celery 3/8] RUN pip install --upgrade pip. How to fix this?

didisoft69 avatar Jun 26 '23 18:06 didisoft69

Use this command to run a shell in a container

  • docker exec -it { celery container id} bash Now run
  • pip install --upgrade pip

it should work now

namansleeps avatar Jun 27 '23 06:06 namansleeps

@didisoft69 is this issue resolved?

neelayan7 avatar Jun 28 '23 20:06 neelayan7

another problem "=> ERROR [gui deps 4/4] RUN npm ci "

didisoft69 avatar Jun 29 '23 02:06 didisoft69

I had an error message running docker compose up --build (os: ubuntu) which was caused by having python3-dev and python:3.10-slim-bullseye.

I removed python3-dev from the dockerfile and it has fixed the problem for me. Unless I am missing something - the base image python:3.10-slim-bullseye already contains the necessary Python development tools, making the explicit installation of python3-dev redundant and error-prone?

I've made a PR of the exact change that fixed it for me but I am inexperienced so please let me know if I am missing something silly.

markharley12 avatar Sep 09 '23 21:09 markharley12