donnemartin / saws

A supercharged AWS command line interface (CLI).
Other
5.23k stars 280 forks source link

Don't recommend to run pip with sudo #113

Open DrLuke opened 5 years ago

DrLuke commented 5 years ago

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.