# apt-get install python-pip python-dev # pip install ansible
安裝python-dev是爲了下面下載ansible源碼,編譯源碼安裝的依賴。python