我无法在Windows7 x64上安装PyQt和sip_4.13.2。“未定义引用“

2024-09-28 22:20:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我在编译sip_4.13.2时出错:

c:\Qt\sip>;c:\Python27\python配置.py-p win32-g++

c:\mingw32 make

voidptr.o: voidptr.c: (. text +0 xa09): undefined reference to _imp__PyCapsule_GetPointer' collect2: ld returned 1 exit status mingw32-make [1]: *** [sip.pyd] Error 1 mingw32-make [1]: Leaving directoryC:\Qt\sip\siplib' mingw32-make: * [all] Error 2

我的版本:

  • Windows7_x64窗口
  • Python2.7x64(Activestate)
  • qt-win-opensource-4.8.0-mingw
  • Qt_SDK_Win_脱机_v1_2_en

有人能帮忙吗?谢谢您。在


Tags: textpygtmakeerrorqtreferencepython27