Psutil Error On Macos
def showMemTime(when='Resources'): global maxmem # memory and time measurement process = psutil.Process(os.getpid()) mem = process.get_memory_info()[0] / float(2 ** 20) m
Solution 1:
Process class doesn't have a method named get_memory_info
. It has memory_full_info()
and memory_info()
psutil.Process
Post a Comment for "Psutil Error On Macos"