Wamoc
April 25th, 2008, 03:33 PM
Ok, I recently setup a LAMP server running Gutsy and am having some problems with python on it. My scripts are set as executable and I thought I had the python path set up correctly on the first line. I can invoke the scripts by calling python (filename) directly, but running them straight I get an error that says (path): bad interpreter: No such file or directory.
I look at where the script says the path is and python is there. I might be having it look at the wrong spot, but can anyone tell me what my path should be? These scripts will be run as cgi scripts, so they have to be able to run without telling the interpreter to run it (I did install the apache module).
I look at where the script says the path is and python is there. I might be having it look at the wrong spot, but can anyone tell me what my path should be? These scripts will be run as cgi scripts, so they have to be able to run without telling the interpreter to run it (I did install the apache module).