Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60602 - [python-pip] pip installs into /usr/lib/python[...]

Attached to Project: Arch Linux
Opened by Hoeze (Hoeze) - Friday, 26 October 2018, 13:39 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 26 October 2018, 13:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing or upgrading a package via pip, it automatically gets installed to /usr/bin.
However, this causes problems with pacman if there are e.g. existing files which would be overwritten by pacman.

The correct location for user-installed pip packages should be /usr/local/lib/python[...].
On Ubuntu this works like intended per default, but I could not find any option to change this on Arch Linux.

Additional info:
* package version(s)
- python-pip 18.0-1
- python 3.7.1-1
* config and/or log files etc.


Steps to reproduce:
- install python-pip
- run `sudo pip install <somepackage>`
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 26 October 2018, 13:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Don't use pip as root

Loading...