Skip to content

Don't recommend to run pip with sudo #113

@DrLuke

Description

@DrLuke

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions