I am unable to run my Python script on my Amazon EC2 Linux instance (I think this is a configuration issue?)
I cannot run a subprocess called by my main process, as follows:
subprocess.call([sys.executable, "main_process.py","-f",temp_file_name,"-s","0.15","-c", "0.15"], stdout=output_file)
The main process is run by PHP. The main process runs well, but the subprocess does not run.
Source files are attached
I just need instructions to make this work, on the instance.