I have tried with psutil library using sensors_temperatures(), but it is giving me an AttributeError. Here is my code:
import psutil
print(psutil.sensors_temperatures())
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-28-fbefe6006680> in <module>
----> 1 print(psutil.sensors_temperatures())
AttributeError: module 'psutil' has no attribute 'sensors_temperatures'
Moreover, it seems that the function sensors_temperatures() do no longer exist in psutil when I checked it with help(psutil)