-
Notifications
You must be signed in to change notification settings - Fork 347
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
pip install shouldn't use sudo #326
Comments
What error message do you get?
I'll open a PR when I find some time. |
Attached sudo_pip_error.txt sudo -H as it suggested also didn't work, and even more bizarre is that I already had setuptools version 41.2.0 so idk why it's complaining. |
Has anyone replicated this error? I'm a bit ambivalent on the best install strategy to recommend. Using virtualenv will work without sudo, but without virtualenv I would anticipate install-without-sudo would fail, right? |
@jeffythedragonslayer your installation problem with
@jtpereyda you are right, thanks for pointing this out. The one way to install pip packages, that has always worked for me, is using the In my opinion we should recommend the user-install method and maybe mention the system wide installation only as a fallback.
|
That's a good point on the security side. I'd be happy switching the advice to --user instead of sudo.... or I guess to virtualenv. Honestly I'm always too lazy to use virtualenv unless I run into a conflict and need to. 🤷♂ |
Should have been fixed with #327. |
I just ran into an issue installing boofuzz with Installing with Python 3.7.3; pip 19.3.1 on Ubuntu 19.04 |
In the documentation, Installing from source on Ubuntu, "sudo pip install ." fails
Removing sudo works.
The text was updated successfully, but these errors were encountered: