<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 sock.py runs if i say something like :
>
> python sock.py
>
> but ./sock.py 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.

HTH.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to