'psutil' has no attribute 'sensors_temperatures'

See original GitHub issue

I just tried to use psutil, but psutil.sensors_temperatures() currently returns an error Traceback (most recent call last): File "C:/Users/Owner/Desktop/test.py", line 2, in <module> print(psutil.sensors_temperatures()) AttributeError: module 'psutil' has no attribute 'sensors_temperatures' Using Windows 10

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:29 (5 by maintainers)

github_iconTop GitHub Comments

13reactions
giampaolocommented, May 8, 2018

If you read the doc you’ll notice how that is Linux only for now. =)

3reactions
robinechucacommented, May 6, 2020

how is it possible to update the version of psutil on linux?

in a terminal you can hit: “python3 -m pip install --upgrade psutil”

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I get CPU temperature in Python? Assuming that I ...
I have tried with psutil library using sensors_temperatures() , but it is giving me an AttributeError. Here is my code:
Read more >
psutil 5.9.5 documentation
Utility method which returns the parent process as a Process object, preemptively checking whether PID has been reused. If no parent PID is...
Read more >
Python Examples of psutil.sensors_temperatures
This page shows Python examples of psutil.sensors_temperatures. ... skipTest("no temperatures") self.assert_stdout('temperatures.py'). Example #11 ...
Read more >
Check the temperature of your CPU using Python (and other ...
Check the temperature of your CPU using Python (and other cool tricks). Python's psutil module provides an interface with all the PC resources...
Read more >
How to Parse results of a Psutil output? - Reddit
AttributeError: module 'psutil ' has no attribute 'sensors_temperature'. when I try to run your code on Bullseye. I think you mean.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found