/usr/bin/env: python: No such file or directory
Fernando PĂ©rez
fperez528 at yahoo.com
Sat Dec 15 08:47:27 EST 2001
ddidierd78 wrote:
> Hi,
>
> I am running redhat 7.2 and installed the following:
>
> python2.2-2.2b1-2.i386.rpm
> python2.2-devel-2.2b1-2.i386.rpm
> python2.2-tools-2.2b1-2.i386.rpm
>
> When trying to run a script, I get the following message:
>
> /usr/bin/env: python: No such file or directory
>
> additionally the only thing relating to python in /usr/bin is the file
> python2.2
>
>
> Thanks for any help,
> Dan
the problem is Rhat installs python1.5 as python and python2.x as python2. So
you need to symlink python2.x to python in /usr/bin.
cheers,
f
More information about the Python-list
mailing list