datel
(Petr)
March 3, 2017, 12:13pm
1
Hi,
I adedd tracking service to my configuration.yaml:
device_tracker:
and during start HA I get error message:
Not initializing device_tracker.owntracks because could not install dependency libnacl==1.5.0
libnacl was installed pip install libnacl
HA running on Raspberry Pi.
What is wrong?
rpitera
(Robert Pitera)
March 3, 2017, 12:59pm
2
Are you running HA in a virtual environment? If so, you’ll have to switch to the HA user, activate the virtual environment and install it to that with pip3.
datel
(Petr)
March 3, 2017, 1:55pm
5
Sorry I guess I was too quick, it doesn’t work.
rpitera
(Robert Pitera)
March 3, 2017, 2:00pm
6
Hmm, that should have satisfied the requirement. Not sure why this didn’t work. Maybe someone else has a better idea or approach.
oembob
March 3, 2017, 2:08pm
7
When you are in the virtual environment, what is the output of this command:
pip3 install libnacl -V
datel
(Petr)
March 3, 2017, 2:10pm
8
oembob:
pip3 install libnacl -V
homeassistant@raspberrypi:/home/pi$ pip3 install libnacl -V
Requirement already satisfied (use --upgrade to upgrade): libnacl in /usr/local/lib/python3.4/dist-packages
Cleaning up…
Hi. It doesn’t look you are in de virtualenv, did you execute the activate first?
homeassistant@raspberrypi:~ $ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@raspberrypi:~ $ pip3 install libnacl -V
Requirement already satisfied: libnacl in /srv/homeassistant/lib/python3.4/site-packages
datel
(Petr)
March 6, 2017, 7:21am
10
Now it works, really Thank so much for help.