This problem is solved by RUN pip3 install -no-cache-dir -r requirements. ERROR: Service youtuberboard failed to build : The command /bin/sh -c pipenv install -system returned a non-zero code: 1 Why am I getting these errors and how can I fix this If I do docker images I can check that the image is made, but the container does not seem to be made when I check docker ps -a. Makefile:2: recipe for target 'up' failed Successfully installed Django-2.2.3 django-environ-0.4.5 pipenv-2018.10.13 psycopg2-binary-2.7.5 pytz-2019.1 sqlparse-0.3.0ĮRROR: Service 'web' failed to build: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 137 Successfully uninstalled pipenv-2018.11.26 Installing collected packages: pytz, sqlparse, Django, django-environ, pipenv, psycopg2-binaryįound existing installation: pipenv 2018.11.26 Right click on docker -> setting -> Advance I increased the memory 2304 to 2816 and clicked on Apply. After increasing the docker memory the error got resolved. Requirement already satisfied: setuptools>=36.2.1 in /usr/local/lib/python3.6/site-packages (from pipenv=2018.10.13->-r requirements.txt (line 3)) (40.6.2) Killed ERROR: Service 'kafka-asr' failed to build: The command '/bin/sh -c pip install -no-cache-dir -r requirements.txt' returned a non-zero code: 137. Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/local/lib/python3.6/site-packages (from pipenv=2018.10.13->-r requirements.txt (line 3)) (0.5.3) Requirement already satisfied: certifi in /usr/local/lib/python3.6/site-packages (from pipenv=2018.10.13->-r requirements.txt (line 3)) (2019.6.16) Requirement already satisfied: virtualenv in /usr/local/lib/python3.6/site-packages (from pipenv=2018.10.13->-r requirements.txt (line 3)) (16.7.2) Requirement already satisfied: pip>=9.0.1 in /usr/local/lib/python3.6/site-packages (from pipenv=2018.10.13->-r requirements.txt (line 3)) (18.1) Ĭollecting Django=2.2.3 (from -r requirements.txt (line 1))Ĭollecting django-environ=0.4.5 (from -r requirements.txt (line 2))Ĭollecting pipenv=2018.10.13 (from -r requirements.txt (line 3))Ĭollecting psycopg2-binary=2.7.5 (from -r requirements.txt (line 4))Ĭollecting pytz (from Django=2.2.3->-r requirements.txt (line 1))Ĭollecting sqlparse (from Django=2.2.3->-r requirements.txt (line 1)) When I run make up (I have a Makefile with up: docker-compose up -build), I got the following error message. RUN apt-get update & apt-get install apt-transport-httpsĬommand: python manage.py migrate & python manage.py runserver 0.0.0.0:8000 I have tried to search for the meaning of "exit code 137", most say it is "out of memory" but it doesn't seem like that in my case. It seems that it has problem with pip install requirements. when I run docker-compose up -build I got a strange Error. I am starting a new django project and want to dockerize the project, on my ubuntu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |