Subject: RE: Running Python Scripts
To: 'Erik Osheim' <erik@plastic-idolatry.com>
From: Gary Parker <G.J.Parker@lboro.ac.uk>
List: netbsd-users
Date: 01/11/2005 16:47:37
Cheers Erik,
	I misunderstood what the script was trying to do. One symlink to
python and everything's working fine now.

Thanks, 
Gary 

> -----Original Message-----
> From: Erik Osheim [mailto:erik@plastic-idolatry.com] 
> Sent: 11 January 2005 16:39
> To: Gary Parker
> Subject: Re: Running Python Scripts
> 
> Gary,
> 
> According to the env info page (info coreutils env) env is designed to
> run programs in a "modified environment". That is, given env <name>,
> the correct thing for env to do is look for <name> in your PATH,
> etc. and then execute it.
> 
> The proper way to solve this, IMHO, is to symlink python24 to python
> (if you are the administrator on your system). With things like perl,
> python, java, etc. it is usually best practice (IMO) to link one
> instance to the default name (as well as it's own name, like
> perl58 or whatever). The reason that "/usr/bin/env python" scripts
> expect to work is that they expect the executable "python" to live
> somewhere, even if only as a symlink.
> 
> If you aren't an administrator, then I guess you are up a creek. Maybe
> ask the administrator to create the link?
> 
> Good luck,
> 
> -- Erik