giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.31k stars 1.39k forks source link

'psutil' has no attribute 'sensors_temperatures' #2426

Closed aroramrinaal closed 1 month ago

aroramrinaal commented 5 months ago

Summary

Description

I just tried to use psutil, but psutil.sensors_temperatures() currently returns an error Traceback (most recent call last): File "/Users/mrinaalarora/Desktop/SysTrack/systrack/system_monitor.py", line 57, in <module> print(get_sensor_temps()) File "/Users/mrinaalarora/Desktop/SysTrack/systrack/system_monitor.py", line 49, in get_sensor_temps sensors = psu.sensors_temperatures() AttributeError: module 'psutil' has no attribute 'sensors_temperatures'

giampaolo commented 1 month ago

It's not implemented on OSX.