0

我想安装 PyQt3,因为 pip 给了我一个错误,我试图手动安装它。首先,当我尝试 make 时,我需要安装 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。

4

1 回答 1

0

好的,我解决了,我必须安装 python3-dev。

于 2011-04-03T17:01:39.547 回答