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

[gentoo] fix pip install fail as root #14

Open
chusiang opened this issue Jun 21, 2017 · 2 comments
Open

[gentoo] fix pip install fail as root #14

chusiang opened this issue Jun 21, 2017 · 2 comments
Assignees
Labels

Comments

@chusiang
Copy link
Owner

The gentoo don't allow use the root to run the pip install command.

Running pip as root is not advised. It can render important system tools like emerge useless.[1]

pip - Gentoo Wiki

Error message from Docker Hub.

https://hub.docker.com/r/chusiang/ansible-jupyter/builds/b6fgkggbrgrybkz5dfesgzs/

...
Step 6/15 : RUN pip install -U pip

 ---> Running in e803e1f60837

�[91mERROR: (Gentoo) Please run pip with the --user option to avoid breaking python-exec
�[0m
Removing intermediate container e803e1f60837

The command '/bin/sh -c pip install -U pip' returned a non-zero code: 1
@chusiang
Copy link
Owner Author

I see the official ansible package is latest, I will use the equery to install ansible, not pip.

app-admin/ansible – Gentoo Packages

chusiang added a commit that referenced this issue Jun 21, 2017
@chusiang
Copy link
Owner Author

I remove the pip install ansible part, but the setup playbook have some pip install tasks. 😢

@chusiang chusiang added the bug label Jun 21, 2017
@chusiang chusiang self-assigned this Jun 21, 2017
chusiang added a commit that referenced this issue Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant