[Python-modules-team] Bug#725848: python-pip: default install method for non-root users should be --user

Paul Wise pabs at debian.org
Wed Oct 9 03:03:39 UTC 2013


Package: python-pip
Version: 1.4.1-2
Severity: normal

Whenever I run pip install, I get an error about not being able to write
to /usr/local. Since I'm not running pip as root, pip should understand
that I can't write to /usr/local and enable the --user option, which
installs to ~/.local/lib/pythonX.Y/site-packages instead.

pabs at chianamo ~ $ pip install pypump
...
creating /usr/local/lib/python2.7/dist-packages/pypump

    error: could not create '/usr/local/lib/python2.7/dist-packages/pypump': Permission denied

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pip depends on:
ii  ca-certificates       20130906
ii  python                2.7.5-5
ii  python-pkg-resources  0.6.49-2
ii  python-setuptools     0.6.49-2

Versions of packages python-pip recommends:
ii  build-essential  11.6
pn  python-dev-all   <none>

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20131009/689fbb85/attachment.sig>


More information about the Python-modules-team mailing list