enkore/i3pystatus

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

major opened this issue · 1 comments

major commented

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
major commented

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