我无法在Windows7 x64上安装PyQt和sip_4.13.2。 “未定义参考”

时间:2012-03-20 23:14:58

标签: python qt pyqt

编译sip_4.13.2时出错:

c:\ Qt \ sip> c:\ Python27 \ python configure.py -p win32-g ++

C:\的mingw32-使

  

voidptr.o:voidptr.c :(。text +0 xa09):对_imp__PyCapsule_GetPointer' collect2: ld returned 1 exit status mingw32-make [1]: *** [sip.pyd] Error 1 mingw32-make [1]: Leaving directory C:\ Qt \ sip \ siplib'的未定义引用   mingw32-make: * [all]错误2

我的版本:

  • Windows7_x64
  • Python2.7x64(ActiveState的)
  • QT-双赢开源-4.8.0-mingw的
  • Qt_SDK_Win_offline_v1_2_en

任何人都可以提供帮助?谢谢。

1 个答案:

答案 0 :(得分:0)

解决,感谢Phil Thompson PyQt Mailing List的帮助......解决了!我的安装错了。我正在使用二进制安装PyQt * .exe,然后没有必要编译SIP。