Closed
Description
Looks like a missing prereq for SystemMonitor.
ImportError: No module named 'psutil'
Here's the full traceback from my Raspberry Pi running 0.7.3dev0
15-09-13 19:00:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend>
15-09-13 19:00:04 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.sensor.systemmonitor. Make sure all dependencies are installed
Traceback (most recent call last):
File "/home/pi/.pyenv/versions/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 115, in get_component
module = importlib.import_module(path)
File "/home/pi/.pyenv/versions/3.4.2/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/pi/.pyenv/versions/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/systemmonitor.py", line 62, in <module>
import psutil
ImportError: No module named 'psutil'
15-09-13 19:00:04 ERROR (MainThread) [homeassistant.loader] Unable to find component sensor.systemmonitor
15-09-13 19:00:04 ERROR (MainThread) [homeassistant.bootstrap] Unable to find platform sensor.systemmonitor
15-09-13 19:00:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>