Closed wolfkingal2000 closed 1 month ago
This is an issue with your Windows machine. You need to enable performance counters. Someone in this forum post had the same issue with the psutils package and managed to fix it: https://support.nagios.com/forum/viewtopic.php?t=66133
If that doesn't resolve it for you, please raise the issue to psutil, where the problem occurs: https://github.com/giampaolo/psutil
Well, I added a workaround for it in version 2.9.3 anyway, so it'll work now no matter what.
Traceback (most recent call last): File "pcleaner\main.py", line 837, in
File "pcleaner\main.py", line 310, in main
File "pcleaner\gui\launcher.py", line 80, in launch
File "psutil__init__.py", line 2036, in swap_memory
File "psutil_pswindows.py", line 266, in swap_memory
RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled.