Python Virtual Environment

I’m pulling my hair with HASS install in Pyhton Venv.
Been searching online for the last 3 days, but everything I find doesn’t work for me.

I installed HA with this instructions, HA runs manually but can’t autostart, I followed this with no success.

After the installation, hass can only be found in /usr/local/bin/, the homeassistant drectory only shows this : bin include lib pyvenv.cfg share
inside bin is this:
activate activate.csh easy_install easy_install-3.5 pip pip3 pip3.5 python python3

My /srv/ directory is empty

My service file for HA is in /etc/systemd/system/[email protected] with the following content:

Description=Home Assistant

ExecStart=/usr/local/bin/hass -c "/home/homeassistant/.homeassistant"


I already tried to remove the home/ from the path inside the service file, because my homeassistant directory is outside /home/

Please shed some light.

Thanks in advanced

When I follow these instructions, it works fine. The configuration.yaml is in a hidden directory .homeassistant.

1 Like

Thank you very much, now it’s working perfectly