Homeassistant module on fresh installed Hassbian

I’m trying to configure a slave instance of HA on a fresh install of Hassbian (github version), but module homeassistant seems missing…
I tried
import homeassistant.remote as remote

import homeassistant.remote as remote

both with error
ImportError: No module named 'homeassistant'

Any suggestion?..HA is running so I think everything is ok, maybe is not finding homeassistant module in path?

Thanks in advance!

1 Like

Same happens with a manual installation or a All in One installation…I think it is a path related problem but I can’t figure how fixing it…

Get same thing trying to let my thermostat app access HA temperature sensor.

HA is running on a Virtual python environment on Hassbian, according to this page (https://home-assistant.io/docs/hassbian/installation/)

In order to enter the environment, I did:

source /srv/homeassistant/bin/activate
import homeassistant.remote