我想安装PyQt3,因为pip给我一个错误,我试图手动安装它。首先我需要安装sip(以获取sipconfig模块),当我尝试使我得到错误时:
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 :(得分:0)
好的我解决了,我不得不安装python3-dev。