2/25/2024 0 Comments Cpu gpu temp monitor![]() Print("Could not fetch CPU temperature. Set_led_color(num_leds, temp, blinkstick) If "/temperature" in str(sensor.Identifier): # Path to OpenHardwareMonitor.dll libraryĬlr.AddReference(r'C:\Users\John\OpenHardwareMonitor\OpenHardwareMonitorLib.dll')įrom OpenHardwareMonitor.Hardware import Computer Just need to download additional library from (THIS LINK)Įxtract it and edit path to OpenHardwareMonitorLib.dll in the code:Ĭlr.AddReference(r’C:\Users\John\OpenHardwareMonitor\OpenHardwareMonitorLib.dll’) import clr remove it pip uninstall clrĪnd then install pythonnet pip install pythonnet You must be using the wrong ‘clr’ module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |