Hey Guys,
I followed the guide to extract the token from the mi Home app and entered everything in my config file but still I got these Errors…
2017-11-06 10:40:01 ERROR (Thread-5) [homeassistant.util.package] Unable to install package python-miio==0.3.0: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7bua733z/cryptography/
2017-11-06 10:40:01 ERROR (MainThread) [homeassistant.setup] Not initializing light.xiaomi_miio because could not install dependency python-miio==0.3.0
2017-11-06 10:40:01 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform light.xiaomi_miio: Could not install all requirements.
I looked in the forum and tryied to do a manual install with:
$ su - homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install python-mirobo
But again it failed with these errors :
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hw96s5g5/cryptography/
libffi-dev and libssl-dev is installed and token written in the component
How is this to fix?
Thanks !
Here the output of trying to install pyton mirobo:
(homeassistant) pi@hassbian:~ $ pip3 install python-mirobo
Collecting python-mirobo
Using cached python_mirobo-0.2.0-py3-none-any.whl
Collecting construct (from python-mirobo)
Using cached construct-2.8.16.tar.gz
Collecting pretty-cron (from python-mirobo)
Using cached pretty_cron-1.0.2-py2.py3-none-any.whl
Collecting click (from python-mirobo)
Using cached click-6.7-py2.py3-none-any.whl
Requirement already satisfied: zeroconf in /srv/homeassistant/lib/python3.4/site -packages (from python-mirobo)
Collecting cryptography (from python-mirobo)
Using cached cryptography-2.1.3.tar.gz
Complete output from command python setup.py egg_info:
error in cryptography setup command: Invalid environment marker: python_vers ion < '3'