: return f(get_current_context(), *args, **kwargs) : File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func When i instead use the command pipenv install -system i get following error Step 7/24 : RUN pipenv install -system Validate=validate, skip_requirements=skip_requirements, system=systemįile "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 320, in ensure_pipfileįile "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 697, in create_pipfileĬonfig_parser = ConfigOptionParser(name=self.name)įile "/usr/local/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/cli/parser.py", line 142, in _init_ĮRROR: Service 'django' failed to build: The command '/bin/sh -c pipenv install' returned a non-zero code: 1įailed to deploy 'Compose: local.yml': `docker-compose` process finished with exit code 1 Return f(get_current_context(), *args, **kwargs)įile "/usr/local/lib/python3.7/site-packages/pipenv/cli/command.py", line 254, in installĮditable_packages=,įile "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1741, in do_installįile "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 609, in ensure_project Return ctx.invoke(f, obj, *args, **kwargs)įile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func Return ctx.invoke(self.callback, **ctx.params)įile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invokeįile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func Return _process_result(sub_(sub_ctx))įile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke Virtualenv location: /root/.local/share/virtualenvs/-x-v5uFv0įile "/usr/local/bin/pipenv", line 10, in įile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in _call_įile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in mainįile "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke ? Successfully created virtual environment! New python executable in /root/.local/share/virtualenvs/-x-v5uFv0/bin/python ? Creating virtual environment.Already using interpreter /usr/local/bin/python Using /usr/local/bin/python (3.7.3) to create virtualenv? local_postgres_data:/var/lib/postgresql/data compose/local/django/Dockerfileĭockerfile. To run the docker i used the following command docker-compose -f local.yml up -dĭockerfile. I am trying to use docker however I am getting the error as ERROR: Service 'django' failed to build: The command '/bin/sh -c pipenv install' returned a non-zero code: 1. I am setting up a project using cookiecutter-django with pipenv instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |