[PyQt] uic compilUi error

Keith Lostracco keith at intentdev.io
Sun Mar 18 05:20:58 GMT 2018


Hello, I'm having an issue using uic. I get the following error when trying
to compile a .ui file

  File
"C:\ProgramData\Miniconda3\envs\catalyst\lib\site-packages\PyQt5\uic\__init__.py",
line 162, in compileUi
    pyfile.write(_header % (uifname, PYQT_VERSION_STR))
AttributeError: 'str' object has no attribute 'write'


Pretty sure the .ui file is fine. Any ideas?

thanks
Keith



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180317/339a6b9b/attachment.html>


More information about the PyQt mailing list