My first post and my first use of Python, so apologies if I’m wasting anyone’s time.
I have Python 3.6 latest on OS X.
Install Home Assistant and the basics work fine.
I can’t get Ikea Tradfri (the main reason I’m using HA) to work. I get the same problems others have reported - a problem with “Unable to install package DTLSSocket==0.1.3:”
I’ve searched this forum and elsewhere and realise I need to install DTLSSocket, so I’ve run “pip3 install DTLSSocket”
That takes a while but fails with a problem with autoconf. "Running: autoconf
error: [Errno 2] No such file or directory: ‘autoconf’: ‘autoconf’
I just can’t work out how to install this. Sorry if this has been covered but i’ve followed the same style and when I try to install there is a message of “Could not find a version that satisfies the requirement autoconf (from versions: )
No matching distribution found for autoconf”
I assume I have to install autoconfig not using the command pip3 install autoconf?
thanks in advance for any help, I can’t wait to get started!
sudo apt-get install autoconf solved DTLSSocket installation for me.
Also got a tip about pip3 install aiocoap since Tradfri is appearently using that.
So, searched for my problem with tradfri and found this thread, I’ve followed a guide on FB and installed DTLSSocket in my venv and autoconf but now I keep getting this in the log:
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.5/site-packages/homeassistant/components/tradfri.py", line 119, in _setup_gateway
from pytradfri.api.aiocoap_api import api_factory
File "/srv/hass/hass_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 9, in <module>
from aiocoap.transports import tinydtls
ImportError: cannot import name 'tinydtls'```