2016-01-22 114 views
1

我試圖安裝像PyAutoGUI這樣的xlib相關模塊我無法安裝它。UnicodeDecodeError:無法安裝PyAutoGUI使用PIP安裝

在終端hiting pip install PyAutoGUI後出現此消息:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9e in position 0: invalid start byte

這是相同的消息,試圖執行使用PyUserInput(使用Xlib的另一個模塊)的腳本時終端顯示我。

有沒有解決這個問題的建議?

在此先感謝

回答

0

問題已通過降級Python-Xlib軟件包解決。

參見問題here

降級這個模塊我在碼頭跑這條線:

apt-get install python-xlib=0.14+20091101-1ubuntu2