非常感谢回复,第三步错误提示:
homeassistant@raspberrypi:/home/pi $ source /srv/homeassistant/homeassistant_venv/bin/activate
bash: /srv/homeassistant/homeassistant_venv/bin/activate: No such file or directory
尝试了改为 source /srv/homeassistant/bin/activate 可以通过,但第四步又有问题了,错误提示:
(homeassistant) homeassistant@raspberrypi:/home/pi $ pip3 install python-miio
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting python-miio
Could not fetch URL https://pypi.python.org/simple/python-miio/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement python-miio (from versions: )
No matching distribution found for python-miio