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

Michael Gebetsroither michael at mgeb.org
Wed Jul 4 19:57:39 UTC 2012


Hello Jakob,

To Check if changing the interpreter to python2.7 really fixes the problem, and it does.

Michael

Am 04.07.2012 um 09:27 schrieb Jakub Wilk <jwilk at debian.org>:

> * Michael Gebetsroither <michael at mgeb.org>, 2012-07-04, 02:28:
>> 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
>> 
> [snip]
>> 
>> -- debsums errors found:
>> debsums: changed file /usr/bin/pip-2.7 (from python-pip package)
> 
> Why did you change this file?
> 
> -- 
> Jakub Wilk





More information about the Python-modules-team mailing list