Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Temp Sensor, FanSpeed - attribute Error #2309

Open
rusty3699 opened this issue Oct 2, 2023 · 2 comments
Open

[Windows] Temp Sensor, FanSpeed - attribute Error #2309

rusty3699 opened this issue Oct 2, 2023 · 2 comments

Comments

@rusty3699
Copy link

Summary

  • OS: { Windows 11 }
  • Architecture: { 64bit }
  • Psutil version: { 5.9.5 }
  • Python version: { 3.9.1 }
  • Type: { Temperature sensor, FanSpeed }

Description

Hi All, need a little help. I have tried various way I am not able to get around with CPU temperature and FanSpeed - the rest the functions seems to be working. On calling, getting this respectively

  1. AttributeError: module 'psutil' has no attribute 'sensors_temperatures'
  2. AttributeError: module 'psutil' has no attribute 'sensors_fans'

Just for fun, I used GPUtil for GPU stats and it worked.

Thanks!

@rusty3699 rusty3699 added the bug label Oct 2, 2023
@rusty3699 rusty3699 changed the title [OS] title [OS] Temp Sensor, FanSpeed - attribute Error Oct 2, 2023
@rusty3699 rusty3699 changed the title [OS] Temp Sensor, FanSpeed - attribute Error [Windows] Temp Sensor, FanSpeed - attribute Error Oct 2, 2023
@debakarr
Copy link

It is not available in windows as per the documentation.
See Availability for psutil.sensors_fans() and psutil.sensors_temperatures()

Similar issue: #1271

@ChannyClaus
Copy link

is it possible to add this info on readme? i had the same thought and was confused for a bit until i landed on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants