首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >在Windows上安装PyQt5

在Windows上安装PyQt5
EN

Stack Overflow用户
提问于 2015-02-07 04:58:46
回答 2查看 1K关注 0票数 0

我正在尝试在装有python3.4的windows7上安装PyQt5。我已经安装了SIP,但是当我尝试为PyQt5运行python configure命令时,我得到了以下错误:

代码语言:javascript
复制
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
C:\Qt\5.4\mingw491_32\bin\qmake.exe -spec win32-msvc2010 -o qtdetail.mk qtdetail.pro
nmake -f qtdetail.mk release


Microsoft (R) Program Maintenance Utility Version 12.00.21005.1

Copyright (C) Microsoft Corporation.  All rights reserved.



    "D:\Applications\Microsoft Visual Studio 12.0\VC\bin\nmake.exe" -f qtdetail.mk.Release



Microsoft (R) Program Maintenance Utility Version 12.00.21005.1

Copyright (C) Microsoft Corporation.  All rights reserved.



    cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_CORE_LIB -DNDEBUG -I"..\..\..\..\Qt\5.4\mingw491_32\include" -I"..\..\..\..\Qt\5.4\mingw491_32\include\QtCore" -I"release" -I"..\..\..\..\Qt\5.4\mingw491_32\mkspecs\win32-msvc2010" -Forelease\ @C:\Users\AK\AppData\Local\Temp\nmAE97.tmp

qtdetail.cpp

..\..\..\..\Qt\5.4\mingw491_32\include\QtCore/qglobal.h(38) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

NMAKE : fatal error U1077: '"D:\Applications\Microsoft Visual Studio 12.0\VC\bin\cl.EXE"' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"D:\Applications\Microsoft Visual Studio 12.0\VC\bin\nmake.exe"' : return code '0x2'

Stop.
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28374692

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档