<div dir="ltr">Hello, I'm having an issue using uic. I get the following error when trying to compile a .ui file <br><br><div style="text-align:left;margin-left:40px"> File "C:\ProgramData\Miniconda3\envs\catalyst\lib\site-packages\PyQt5\uic\__init__.py", line 162, in compileUi<br> pyfile.write(_header % (uifname, PYQT_VERSION_STR))<br>AttributeError: 'str' object has no attribute 'write'<br></div><div style="text-align:left"><br><br></div><div style="text-align:left">Pretty sure the .ui file is fine. Any ideas?<br><br></div><div style="text-align:left">thanks<br></div><div style="text-align:left">Keith<br><br></div><br clear="all"><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div>
<div><table style="background:rgba(0,0,0,0) none repeat scroll 0% 0%;border:0px none;margin:0px;padding:0px" cellspacing="0" cellpadding="0" border="0">
<tbody><tr><td colspan="2" style="padding-bottom:5px;color:rgb(27,95,155);font-size:18px;font-family:Arial,Helvetica,sans-serif"><br></td></tr>
<tr><td colspan="2" style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif"><br></td></tr>
<tr><td colspan="2" style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif"><br></td></tr>
<tr><td style="vertical-align:top;width:20px;color:rgb(27,95,155);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top"><br></td><td style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif"><br></td></tr>
<tr><td style="vertical-align:top;width:20px;color:rgb(27,95,155);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top"><br></td><td style="vertical-align:top;color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif" valign="top"><br></td></tr>
</tbody></table>
</div>
</div></span></div></div></div></div></div></div>
</div></div>