-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Default to --user #1668
Copy link
Copy link
Closed
Labels
C: user schemeHandling of packages in user-specific directoriesHandling of packages in user-specific directoriesauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: enhancementImprovements to functionalityImprovements to functionality
Metadata
Metadata
Assignees
Labels
C: user schemeHandling of packages in user-specific directoriesHandling of packages in user-specific directoriesauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: enhancementImprovements to functionalityImprovements to functionality
When pip is installed on a system that has an OS Python install there is currently a problem where
pip install foowill throw an error because it doesn't have file permissions. This causes people to instead runsudo pip install foowhich globally installs to the system Python. This creates an issue where people are using pip to manage system level packages when they should likely be using the system package manager.So my intention is that pip should default to --user however there are a few sticking points with this:
/root/.local/does not seem very useful.get-pipand the pypa install instructions?--userinstalls lack precedence to globaleasy_install'd packages, which can be quite unexpected.There are a number of issues that are relevant here: #624 #1443 #1153 #1500 #1051
/cc @ncoghlan