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

Add the -H option to sudo as asked by pip #55

Closed
wants to merge 1 commit into from

Conversation

Flaburgan
Copy link
Contributor

sudo pip install -U virtualenvwrapper pip
The directory '/home/fla/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/fla/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

@jaywink
Copy link
Member

jaywink commented Nov 1, 2016

I have no idea really why you would need the -H flag - ie why is it using your own home folders instead of root.

Anyway, I think I'll just remove the whole part and just say "install Python dependencies into a virtualenv", with a link to some generic tutorial. Not worth trying to provide working commands for all environments here :)

I'll close this PR, thanks for notifying about the problem with the commands.

@jaywink jaywink closed this Nov 1, 2016
@Flaburgan Flaburgan deleted the readme branch February 14, 2017 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants