Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipenv error unclear when attempting system install as non-root in docker #2387

Closed
AGeekInside opened this issue Jun 19, 2018 · 1 comment
Closed

Comments

@AGeekInside
Copy link

I am attempting to install in a Docker container, and I was getting this error:

Step 6/10 : RUN pipenv install --system --deploy
Warning: --system is intended to be used for pre-existing Pipfile installation, not installation of specific packages. Aborting.
The command '/bin/sh -c pipenv install --system --deploy' returned a non-zero code: 1

The error message make think there was an issue with my Pipfile.lock. I rebuilt the lock file, and it did not help.

I was able to resolve the issue by changing my user to root and not attempting to do it in the root directoyr.

Please run $ python -m k.help, and paste the results here.

If you're on MacOS, just run the following:

$ python -m pipenv.help | pbcopy

Expected result

I expected an error message to tell me that I did not have permissions or something to that effect.

I'd be happy to work on a pull request to help with this, if it is something that would be useful.

@techalchemy
Copy link
Member

This error is known and already fixed in master -- will be releasaed shortly. Sorry for the inconvenience. Ref: #2301 #2181 #2178 #2183 #2091 #2219 #2273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants