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

module 'psutil' has no attribute 'network_io_counters' #40

Closed
polochamps opened this issue Jan 24, 2016 · 3 comments
Closed

module 'psutil' has no attribute 'network_io_counters' #40

polochamps opened this issue Jan 24, 2016 · 3 comments

Comments

@polochamps
Copy link

Ubuntu 16.04

This pops up " module 'psutil' has no attribute 'network_io_counters' " when I tried to add "net" on the output.

I also change xenial to wily just to install it - http://ppa.launchpad.net/fossfreedom...monitor/ubuntu wily main

@fossfreedom
Copy link
Owner

Thanks for raising the issue.

according to the documentation (https://code.google.com/p/psutil/wiki/Documentation) "network_io_counters" has been replaced by "net_io_counters"

Can you have a look at sensors.py line 426 and seeing if substituting the new name for the old name works?

@polochamps
Copy link
Author

Thanks for the quick response.

Yes. It's finally working!

Update: It seems that the network counter is not providing the correct speed and looks erratic.
Update 2: Ok for now. Restarting did the job. Thanks!

fossfreedom added a commit that referenced this issue Jan 24, 2016
@fossfreedom
Copy link
Owner

ta :)

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

No branches or pull requests

2 participants