Skip to content

Module wont load - pexpect #7

@grantclem

Description

@grantclem

Hi, for some reason the module cannot be found

2019-07-03 13:10:25 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform ssh
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/usr/lib/python3.7/asyncio/coroutines.py", line 120, in coro
    res = func(*args, **kw)
  File "/home/homeassistant/.homeassistant/custom_components/ssh/sensor.py", line 48, in async_setup_platform
    dev.append(SSHSensor(hass, config))
  File "/home/homeassistant/.homeassistant/custom_components/ssh/sensor.py", line 66, in __init__
    self._connect()
  File "/home/homeassistant/.homeassistant/custom_components/ssh/sensor.py", line 127, in _connect
    from pexpect import pxssh, exceptions
ModuleNotFoundError: No module named 'pexpect'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions