Try in setup this config:<br><br><pre><span class="n">setup</span><span class="p">(</span><span class="n">windows</span><span class="o">=</span><span class="p">[{</span><span class="s">"script"</span> <span class="p">:</span> <span class="s">"MYFILE.py"</span><span class="p">}],</span> <span class="n">options</span><span class="o">=</span><span class="p">{</span><span class="s">"py2exe"</span> <span class="p">:</span> <span class="p">{</span><span class="s">"includes"</span> <span class="p">:</span> <span class="p">[</span><span class="s">"sip"</span><span class="p">,</span> <span class="s">"PyQt4.QtNetwork"</span><span class="p">]}})</span></pre>
<br>If it will still throw an exception add the QtWebkit to includes.<br><br><div class="gmail_quote">2010/2/4 Albert Cervera i Areny <span dir="ltr"><<a href="mailto:albert@nan-tic.com">albert@nan-tic.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If I create the installer for my application using py2exe and PyQt 4.7, the<br>
application starts but fails with the following exception with QtWebKit:<br>
<br>
ImportError: DLL load failed: Can not find find the specified module.<br>
<br>
The installer works like a charm with PyQt 4.7rc2, though.<br>
<br>
The list of "system" dlls detected by py2exe is different in both versions,<br>
and considers QtNetwork and QtSvg as system dlls with PyQt 4.7, while it does<br>
*not* using rc2.<br>
<br>
Any ideas?<br>
<font color="#888888"><br>
--<br>
Albert Cervera i Areny<br>
<a href="http://www.NaN-tic.com" target="_blank">http://www.NaN-tic.com</a><br>
Ṃbil: +34 669 40 40 18<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></font></blockquote></div><br>