How to fix subprocess.CalledProcessError: Command 'cmd' returned non-zero exit status 1 in Python | DevErrors