After checking the documentation here , I do not see the function get_process_list()in psutil, it is deprecated according to this .
Maybe you should try the - process_iter()- documentation here
, .
list(..) ( - , ) for, ( , ).
-
for proc in psutil.process_iter():
<do your logic>
, -
procs = list(psutil.process_iter())