You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
处理器 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
内存 8 吉字节
DX DirectX 12 (FL 12.1)
版本 Windows 10 专业版19045.4651
版号 22H2 19045.4651
体验 Windows Feature Experience Pack 1000.19060.1000.0
磐蛇 Python v3.10.11:7d4cc5a [MSC v.1929 64 bit (AMD64)] on win32
下运行轻雪机器人,发现 psutil 库获取系统运行状态信息时出现以下错误:
File ...\LiteyukiBot\src\plugins\liteyuki_status\api.py", line 226, in get_hardware_data
swap = psutil.swap_memory()
File "...\LiteyukiBot\.venv\lib\site-packages\psutil\__init__.py", line 2036, in swap_memory
return _psplatform.swap_memory()
File "...\LiteyukiBot\.venv\lib\site-packages\psutil\_pswindows.py", line 266, in swap_memory
percentswap = cext.swap_percent()
RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled.
如何复现
暂无复现方案
预期
预期生成状态信息:使用 状态 命令,令轻雪机器人调取 psutil 库,获取系统状态
实际
后台控制台出现如上错误,无法输出状态信息。
The text was updated successfully, but these errors were encountered:
问题反馈
描述问题
正在环境:
处理器 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
内存 8 吉字节
DX DirectX 12 (FL 12.1)
版本 Windows 10 专业版19045.4651
版号 22H2 19045.4651
体验 Windows Feature Experience Pack 1000.19060.1000.0
磐蛇 Python v3.10.11:7d4cc5a [MSC v.1929 64 bit (AMD64)] on win32
下运行轻雪机器人,发现
psutil
库获取系统运行状态信息时出现以下错误:如何复现
暂无复现方案
预期
预期生成状态信息:使用
状态
命令,令轻雪机器人调取 psutil 库,获取系统状态实际
后台控制台出现如上错误,无法输出状态信息。
The text was updated successfully, but these errors were encountered: