[Python-modules-team] Bug#680150: python-pip: pip2.7 should use python2.7 as interpreter

Michael Gebetsroither michael at mgeb.org
Wed Jul 4 00:28:33 UTC 2012


Package: python-pip
Version: 1.1-3
Severity: normal

Hello,

pip2.7 should use python2.7 as interpreter if not specifying a hard dependency on python2.7

% pip install --user --no-deps pbundler
Traceback (most recent call last):
    File "/usr/bin/pip", line 9, in <module>
        load_entry_point('pip==1.1', 'console_scripts', 'pip-2.7')()
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 337, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2278, in load_entry_point
        raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'pip-2.7') not found

# l =python
lrwxrwxrwx 1 root root 9 2011-06-18 18:13 /usr/bin/python -> python2.6

Michael Gebetsroither

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pip depends on:
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-pkg-resources          0.6.24-1   Package Discovery and Resource Acc
ii  python-setuptools             0.6.24-1   Python Distutils Enhancements (set
ii  python2.6                     2.6.7-4    An interactive high-level object-o

Versions of packages python-pip recommends:
ii  build-essential               11.5       Informational list of build-essent
pn  python-dev-all                <none>     (no description available)

python-pip suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/pip-2.7 (from python-pip package)





More information about the Python-modules-team mailing list