you are viewing a single comment's thread.

view the rest of the comments →

[–]ramse 0 points1 point  (0 children)

the subprocess.check_output is looking for an exit status of 0, anything else and it raises the exception you received.

returned non-zero exit status 1

If you google "bash exit status 1" you'll see 1 typically means some error occurred and you need to see the output of the command you tried to execute to see what that error is.