What's this error then?

Wolfram Kraus kraus at hagen-partner.de
Mon May 2 04:38:14 EDT 2005


Sara Khalatbari wrote:
> You remember me asking about running a program in my
> code...I got a problem here
> 
[...]

> & my code is:
> #! /usr/bin/env python
     ^
Remove this space, the line should be:
#!/usr/bin/env python


> 
> import os
> from os import execl
> 
> os.execl ('/home/sara/PYTHON/HEADER/msgfmt.py',
> 'file-roller.HEAD.fa.po')
> 
> 
> But when I run it, this Error raises:
> [sara at angoor HEADER]$ python run.py
> /usr/bin/env: python2.2: No such file or directory
> 
> Do you have any solutions?


HTH,
Wolfram



More information about the Python-list mailing list