python2.5: No such file or directory
<p>I have an internal tool which requires python; so it throws up this error during execution :</p>

<pre><code>/bin/env: python2.5: No such file or directory
</code></pre>

<p>I had downloaded and installed py2.7 but this not solve the problem, so I have downloaded and installed py2.5. </p>

<pre><code>-bash-4.1$ python --version
           Python 2.6.6
-bash-4.1$ which python
           /usr/bin/python
</code></pre>

<p>The path variable looks like this </p>

<pre><code> -bash-4.1$ echo $PATH
/scratch/bpurana/py25/:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/usr/bin:/usr/dev_infra/platform/bin:/usr/dev_infra/generic/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/ade/bin
</code></pre>

<p>I have tried the synlink solution too, listed in a couple of other posts too but since '/usr/bin/python' is a binary I am unable to symlink this. </p>

<p>modification of the script is not a feasible option.</p>