enkore / i3pystatus

A complete replacement for i3status

Home Page:https://i3pystatus.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temperature: AttributeError: module 'sensors' has no attribute 'get_detected_chips'

major opened this issue · comments

If I try to use this temp snippet:

status.register(
    "temp",
    lm_sensors_enabled=True,
    # dynamic_color=True,
    format="{SMBUSMASTER_1:.0f}°C"
)

I get this error: Temperature: AttributeError: module 'sensors' has no attribute 'get_detected_chips'.

I'm currently running:

colour==0.1.5
i3pystatus==3.35
PySensors==0.0.4
pytz==2019.3

Ah, I had PySensors from some other location. This seems to fix it:

pip uninstall PySensors
pip install git+https://github.com/bastienleonard/pysensors.git