PyQt安裝錯誤incompatible licenses解決辦法(親測有效)

對configure.py文件進行修改

將第2590行之後的以下三行代碼註釋掉即可

#if introspecting and target_config.qt_licensee not in OPEN_SOURCE_LICENSEES and ltype == 'GPL':
#        error(
#                "This version of PyQt5 and the commercial version of Qt have "
#                "incompatible licenses.")

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章