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

Don't recommend to run pip with sudo #113

Open
DrLuke opened this issue Jul 26, 2019 · 0 comments
Open

Don't recommend to run pip with sudo #113

DrLuke opened this issue Jul 26, 2019 · 0 comments

Comments

@DrLuke
Copy link

DrLuke commented Jul 26, 2019

The installation tells the user to run pip with sudo:

If you are not installing in a virtualenv, run with sudo:

$ sudo pip install saws

This is will break package managers on some (if not most) distros, as it will install packages into the system's global site-packages. If a package manager now tries to install a package that already exists in site-packages, it will fail because the files already exist and are untracked by the package manager.

Instead, packages should be locally installed with pip install --user saws, which installs it into the user's personal site-packages, usually located in the home directory.

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

No branches or pull requests

2 participants