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

Jakub Wilk jwilk at debian.org
Wed Jul 4 21:56:56 UTC 2012


The problem is that:
- /usr/bin/pip-2.7 has unversioned #!/usr/bin/python shebang (but it has 
2.7 hardcoded in another place);
- /usr/bin/pip is a symlink to pip-2.7.

In such setup, pip-2.7 will explode if default Python version is not 
2.7. (And the package dependencies don't ensure it's 2.7.)

Ideally:
- /usr/bin/pip-2.X should have #!/usr/bin/python2.X shebang;
- /usr/bin/pip should have unversioned #!/usr/bin/python shebang.

-- 
Jakub Wilk





More information about the Python-modules-team mailing list