一 安装系统
首先在Microsoft Store中下载并安装Ubuntu子系统建议18.04LTS
二 安装依赖
通过git clone下载Homeassistant代码
git clone https://github.com/home-assistant/home-assistant.git
在home-assistant目录下执行
pip install -r requirements_test_all.txt
中间可能遇到的错误:
1.DTLSSocketDTLSSocket未安装
只需要执行
sudo apt-get install autoconf
2.TypeError: attrib() got an unexpected keyword argument ‘factory’
在ubu