websocketd icon indicating copy to clipboard operation
websocketd copied to clipboard

Gputil Failed to initialize NVML: Unknown Error

Open pawan9 opened this issue 3 years ago • 1 comments

I have a program which returns system stats using psutil and gputil it works fine when used directly by throws error in gputil module when this program is used through websocked

Fri, 28 Jan 2022 11:12:56 +0530 | ERROR  | stderr     | url:'http://127.0.0.1:8191/' id:'1643348570609608500' remote:'127.0.0.1' command:'Z:\systemmonitor\system-monitor.exe' origin:'file://' pid:'15752' |   File "GPUtil\GPUtil.py", line 102, in getGPUs
Fri, 28 Jan 2022 11:12:56 +0530 | ERROR  | stderr     | url:'http://127.0.0.1:8191/' id:'1643348570609608500' remote:'127.0.0.1' command:'Z:\systemmonitor\system-monitor.exe' origin:'file://' pid:'15752' | ValueError: invalid literal for int() with base 10: 'Failed to initialize NVML: Unknown Error'

Here is the exe. Send system_details to its STDIN after running it.

pawan9 avatar Jan 28 '22 15:01 pawan9

Facing the same issue

ghost avatar Mar 03 '23 14:03 ghost