Hi all,<div><br></div><div>I am trying to package my PyQt app which uses PyQwt plots. py2exe seems to generate the executable fine, but when run, the error log records this:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><div>Traceback (most recent call last):</div></div><div><div> File "ABM13.pyw", line 16, in <module></div></div><div><div> File "PyQt4\Qwt5\__init__.pyc", line 32, in <module></div>
</div>
<div><div> File "PyQt4\Qwt5\Qwt.pyc", line 12, in <module></div></div><div><div> File "PyQt4\Qwt5\Qwt.pyc", line 10, in __load</div></div><div><div>ImportError: No module named QtSvg</div></div>
</blockquote><div><br></div><div>The PyQt4 directory is in my python path. I found these files: QtSvg.pyd and QtSvg4.dll in:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>C:\Python26\Lib\site-packages\PyQt4</div><div><br></div></blockquote><div>I'm not sure if these files were what py2exe were referring to, so I copied it into my working directory anyway, but still the same error results. I've noticed that these two files were not in the build directory created by py2exe:</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>\build\bdist.win32\winexe\collect-2.6\PyQt4</div></blockquote><div>I'm using PyQt4.5, and PyQwt 5.2.</div><div>
<br></div><div>Help much appreciated!</div><div><br></div><div>Helvin</div>