原文:SIP模块版本错误问题:the sip module implements API v??? but XXX module requires API v???

系统安装了python . ,继续安装PyQt ,于是依次下载sip pyqt 源码进行安装。用以下代码测试: import PyQt .QtGui 显示出错。错误信息:the sip module implements API v but XXX module requires API v 分别用 import sip print sip, sip.SIP VERSION STR 和 sip V ...

2016-11-14 21:02 1 2266 推荐指数:

查看详情

pyqt5 sip错误问题

在我装labelImg工具时,装了pyqt5,而后发现缺少sip模块,又pip安装上后,启动labelImg,报段错误。 经查资料,很容易发现,是pyqt5与sip版本不匹配造成的,具体缘由,可参看:https://zhuanlan.zhihu.com/python-dev/20281557 ...

Mon Mar 05 09:42:00 CST 2018 0 2038
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM