(2)HomeAssistant安裝--python3和pip
阿新 • • 發佈:2019-01-08
導航連結
HomeAssistant安裝--homeassistant介紹
HomeAssistant安裝--python3和pip分支
HomeAssistant安裝--homeassistant
homeassistant需要在python3.5.3以上,所以我們需要先安裝python3和pip。
這一節我們看看香橙派armbian系統下的python3版本
python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
運氣好的是預設安裝就是python3.5.3
安裝pip
sudo apt install python3-pip
檢視是否安裝成功
pip3 --version
輸出如下
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
說明Python3環境及Pip3工具安裝成功。
下一節會講解一個分支,在沒有python3.5.3以上的版本上如何安裝python和pip。