<div dir="ltr">I am using pynsist to create an installer and that works great.<div><br></div><div>During installation it tries to pre generate the __pycache__/ folders but it can't compile some files and they show up as errors.</div><div><br></div><div>They are caused by using Python2 syntax.</div><div><br></div><div>PyQt5/uic/port_v2/invoke.py</div><div>line 36 except IOError, e:</div><div>line 39 except SyntaxError, e:</div><div>line 42 except NoSuchWidgetError, e:</div><div>line 45 except Exception, e:</div><div><br></div><div>PyQt5\uic\port_v2\load_plugin.py</div><div>line 38 except Exception, e:</div><div><br></div><div>Should be an easy fix</div><div><br></div><div>except Exception as e:</div><div><br></div><div>will work in both Python 2.7 and Python 3</div><div><br></div><div>Maybe the PyQt5/uic/port_v2/ shouldn't be included in the Python 3 wheel?</div><div><br></div><div><br></div></div>