websocketd
websocketd copied to clipboard
Gputil Failed to initialize NVML: Unknown Error
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.
Facing the same issue