2011-04-02 72 views
0

我想安裝PyQt3,因爲pip給我一個錯誤我試圖手動安裝它。首先,我需要安裝SIP(獲得sipconfig模塊),當我嘗試化妝,我得到錯誤:安裝SIP和PyQt3

siplib.c: In function ‘raiseNoWChar’: 
siplib.c:10816: error: ‘PyExc_SystemError’ undeclared (first use in this function) 
siplib.c: At top level: 
siplib.c:10825: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token 
siplib.c:10858: error: expected ‘)’ before ‘*’ token 
make[1]: *** [siplib.o] Chyba 1 
make[1]: Leaving directory `/home/john/Python/sip-4.12.1/siplib' 
make: *** [all] Chyba 2 

我的Ubuntu 10.04。

回答

0

好吧,我解決了它,我不得不安裝python3-dev。