menu

导出pyqt设计器图片资源 pyqt5 import resources_rc 错误解决方案

解决import resources_rc找不到的错误

 

You should have a file called resource.qrc, this must be converted to .py, this or you can do it by executing:

 

pyrcc5 resource.qrc -o resource_rc.py#详情https://stackoverflow.com/questions/41301204/importerror-no-module-named-resource-rc
编辑