【问题标题】:Installing SIP and PyQt3安装 SIP 和 PyQt3
【发布时间】:2011-07-28 09:08:36
【问题描述】:

我想安装 PyQt3,因为 pip 给了我一个错误,我试图手动安装它。首先我需要安装 sip(以获取 sipconfig 模块),当我尝试 make 时出现错误:

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。

【问题讨论】:

    标签: python-3.x pyqt python-sip


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-09
      • 2015-10-06
      相关资源
      最近更新 更多