2015-06-25 85 views
-1

我想在Linux上安裝Autop 0.51模塊。我該怎麼辦。?如何在linux上安裝python模塊autopy?

python Setup.py install 

它顯示錯誤,請幫我

http://i.stack.imgur.com/0zKEY.jpg

http://i.stack.imgur.com/hjcnz.jpg

+0

不是一個真正的編程問題,是嗎?在這裏回答,但非常關注主題http://stackoverflow.com/questions/17814444/linux-ubuntu-how-can-i-install-the-python-module-autopy – SilverSkin

+0

嘗試'pip安裝autopy' – Andersson

+0

也提供錯誤日誌 – Andersson

回答

0

error: command 'gcc' failed with exit status 1

,因爲你沒有蟒蛇-dev的頭安裝

不發生上述錯誤做一個yum search python | grep -i devel,然後安裝相應的軟件包如:

yum install python-devel.x86_64

+0

yum search python | grep -i devel –

+0

yum install python-devel.x86_64 –

+0

2 command right? –