I am trying to install PyQt5.5 but I get this error
我试着安装PyQt5.5,但是我得到了这个错误。
Error: This version of PyQt5 and the commercial version of Qt have incompatible licenses.
my qtdetail.out
give this
我的qtdetail。给这个
Builder Qt
shared
I have installed Qt5.5 open source
version.
我已经安装了Qt5.5开源版本。
Any idea how to install this correctly?
知道如何正确安装吗?
1 个解决方案
#1
4
I installed both packages as open source, so I don't know what kind of incompatibilities there are, I guess it's a bug, anyway I found my way to install it.
我安装了两个包作为开源,所以我不知道有什么不兼容,我想这是一个bug,不管怎样我找到了安装它的方法。
You can just go in configure.py and comment off lines from 2591 to 2594. Then try to relaunch it.
你可以进行配置。py和注释行从2591到2594。然后试着重新启动它。
These are the lines I commented off:
这些是我评论的台词:
if introspecting and target_config.qt_licensee != 'Open Source' and ltype == 'GPL':
error(
"This version of PyQt5 and the commercial version of Qt have "
"incompatible licenses.")
#1
4
I installed both packages as open source, so I don't know what kind of incompatibilities there are, I guess it's a bug, anyway I found my way to install it.
我安装了两个包作为开源,所以我不知道有什么不兼容,我想这是一个bug,不管怎样我找到了安装它的方法。
You can just go in configure.py and comment off lines from 2591 to 2594. Then try to relaunch it.
你可以进行配置。py和注释行从2591到2594。然后试着重新启动它。
These are the lines I commented off:
这些是我评论的台词:
if introspecting and target_config.qt_licensee != 'Open Source' and ltype == 'GPL':
error(
"This version of PyQt5 and the commercial version of Qt have "
"incompatible licenses.")