Traceback (most recent call last):
File "D:\python\lib\site-packages\psutil\
_pswindows.py", line 635, in wrapper
return fun(self, *args, **kwargs)
File "D:\python\lib\site-packages\psutil\
_pswindows.py", line 821, in create_time
return cext.proc_create_time(self.pid)
ProcessLookupError: [Errno 3] No such process
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\python\lib\site-packages\psutil\
__init__.py", line 368, in _init
self.create_time()
File "D:\python\lib\site-packages\psutil\
__init__.py", line 699, in create_time
self._create_time = self._proc.create_time()
File "D:\python\lib\site-packages\psutil\
_pswindows.py", line 640, in wrapper
raise NoSuchProcess(self.pid, self._name)
psutil._exceptions.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=11812)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
jiankong.py", line 40, in <module>
main()
File "
jiankong.py", line 12, in main
p = psutil.Process(pid)
File "D:\python\lib\site-packages\psutil\
__init__.py", line 341, in __init__
self._init(pid)
File "D:\python\lib\site-packages\psutil\
__init__.py", line 381, in _init
raise NoSuchProcess(pid, None, msg)
psutil._exceptions.NoSuchProcess: psutil.NoSuchProcess no process found with pid 11812