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

Update Readme for sudo pip3 commands #22

Closed
wants to merge 1 commit into
base: master
from

Conversation

2 participants
@shakaran

shakaran commented Sep 10, 2017

Add -H for avoid warnings with cache

Update Readme for sudo pip3 commands
Add -H for avoid warnings with cache
@rahiel

This comment has been minimized.

Show comment
Hide comment
@rahiel

rahiel Sep 10, 2017

Owner

Hi, I don't think this is generally necessary for everyone, I've never seen this warning.

So I won't merge this as it's only a warning.

Owner

rahiel commented Sep 10, 2017

Hi, I don't think this is generally necessary for everyone, I've never seen this warning.

So I won't merge this as it's only a warning.

@rahiel rahiel closed this Sep 10, 2017

@shakaran

This comment has been minimized.

Show comment
Hide comment
@shakaran

shakaran Sep 10, 2017

@rahiel the problem with not accept this PR is that you are overwriting your cache folder with root privilieges, so when you upgrade dependencies with other project or so, you can get permissions problems:

-H, --set-home
Request that the security policy set the HOME environment variable to the home directory specified by the target user's password database entry. Depending on the policy, this may be the default behavior.

It is a common practice use sudo in this way for a lot common pip modules (just google a bit or search in StackOverflow the risks), but if you want argue "Works for me", it is ok, I just was trying to help

shakaran commented Sep 10, 2017

@rahiel the problem with not accept this PR is that you are overwriting your cache folder with root privilieges, so when you upgrade dependencies with other project or so, you can get permissions problems:

-H, --set-home
Request that the security policy set the HOME environment variable to the home directory specified by the target user's password database entry. Depending on the policy, this may be the default behavior.

It is a common practice use sudo in this way for a lot common pip modules (just google a bit or search in StackOverflow the risks), but if you want argue "Works for me", it is ok, I just was trying to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment