Bad Interpreter

Richards Noah (IFR LIT MET) Noah.Richards at
Mon Jan 3 21:39:29 CET 2005

<RajaSrinivasan at> wrote in message
news:1104783849.754892.47560 at
> I have seen some previous messages about such a problem. I have this
> problem but it is not clear what the solution really was.
> I am running FC2, python 2.3.3
> the script i have runs if i say something like :
> python
> but ./ results in a :bad interpreter error
> how do i troubleshoot something like this?
> regards

What does the first line of your script look like?  It needs to be pointing
to the python interpreter binary, which you can locate with:

which python

(on the command line).  Check and make sure it is.  If it is and you are
still getting this problem, post some code and the complete error.


More information about the Python-list mailing list