What's this error then?

Sara Khalatbari sarapythonlist at yahoo.com
Mon May 2 03:45:53 EDT 2005


You remember me asking about running a program in my
code...I got a problem here

I copied the msgfmt here :

[sara at angoor HEADER]$ ls
allsamples              
Backup                   
file-roller.HEAD.fa.po  
msgfmt.py    
header.py      


& my code is:
#! /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?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Python-list mailing list