You are not logged in.
Hello,
a wile ago i´ve read something about system monitoring and searched for a suitable application. Glances is the way to go for me.
My problem is, that i coudn´t get sensors in glances running.
Steps i tried so far:
Installed glances, lm_sensors, hddtemp, python-matplotlib.
Installed various pySensors - packages: python2-sensors, one from aur, and via pip/pip2.
If python2 is forced in /usr/bin/glances there are various error messages:
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3138, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3124, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 661, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 962, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Glances==2.5.1' distribution was not found and is required by the application
Maybe someone with more python package/venv knowledge can help me out.
Thanks in advance
Last edited by Schlunze (2015-12-15 22:18:40)
Offline
You say you've installed lm_sensors, but have you configured it yet?
sensors-detect
Last edited by Slithery (2015-12-15 21:15:22)
Offline
Hi,
sensors is configured, sensors output is fine.
Offline
Looks like you need py3sensors installed, I can't find an appropriate package in the AUR so either use pip or create a PKGBUILD for it (I'll have a go later tonight if I get the time).
Last edited by Slithery (2015-12-15 21:16:57)
Offline
You are right, thank you slithery. I´ve just searched for ready arch-packages...
pip install https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz
solved the problem, ty again.
Offline
Well its later than promised but for anyone else wanting to see lm_sensors output in glances I've just uploaded the required package to the AUR...
Last edited by Slithery (2015-12-19 23:24:36)
Offline