I have uploaded my repository to kaggle to then run main.py through this block, however when I try to do so I get the error in the title. I have already tried using !make clean !make but to no avail, Any solutions?
command = “/kaggle/working/data/main.py”
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = process.communicate()
print(“stdout:”)
print(stdout.decode())
print(“stderr:”)
print(stderr.decode())
2
Using this command resolve the problem: !chmod +x /kaggle/working/data/main.py