On 20 Aug 2002, Sameer D. Sahasrabuddhe wrote:
Two ways to solve that - upraged to mailman-2.0.13 or upgrade python. But it turns out that python is installed in two versions on RHL 7.3, and the newer package has a binary called "python2". Renaming that to "python" was too risky, but upgrading mailman solved the problem.
The python 2 binary is called python2. This is so because there are incompatible changes between 1.5 and 2 which would break programs. This is also the reason why you'd have both installed. Too many people make the mistake of renaming python2 to python only to find that several seemingly unrelated things stop working at some point (alchemist for example).
Easier would be to replace #!/usr/bin/python to #!/usr/bin/python2 like this:
perl -pie 's|usr/bin/python\b|usr/bin/python2|g' *.py