add 2>&1 at the python run command end