psutil.AccessDenied(pid=140)
时间: 2024-06-06 22:10:52 浏览: 192
accessdenied
The "psutil.AccessDenied" error occurs when the psutil module is unable to get information about a process due to insufficient permissions. This error is commonly encountered when trying to access information about another user's process or a system process, which requires elevated privileges. To resolve this error, you can try running your script as an administrator or with elevated privileges. Alternatively, if you are trying to access information about another user's process, you may need to obtain permission from that user or modify the system's security settings to allow access.
阅读全文