Hallo,
folgender Aufruf in der Konsole funktioniert:
1 | gnome-control-center universal-access
|
Folgender Python-Code:
1 | process = subprocess.Popen(['gnome-control-center universal-access'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) |
wirft diese Fehlermeldung:
1 2 3 4 5 6 7 | Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'gnome-control-center universal-access' |
Frage: Was muß ich ändern?