<div dir="ltr"><span class="Apple-style-span" style="border-collapse: collapse; ">Hi,&nbsp;<div><br></div><div>I am having the same problem using py2exe with a pyqt application with qwebview. &nbsp;Has anyone found a solution?</div>
<div><br></div><div>Thanks.</div><div><br></div><div><br></div><div>Original Message:</div><div><br></div><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
Hi,<br><br>I&#39;m trying to make an exe from a PyQt4 app that uses WebKit. But I&#39;ve got the&nbsp;<br>following problem :<br><br>Traceback (most recent call last):<br>&nbsp;&nbsp; File &quot;main.py&quot;, line 11, in &lt;module&gt;<br>
&nbsp;&nbsp; File &quot;app_ui.pyc&quot;, line 172, in &lt;module&gt;<br>&nbsp;&nbsp; File &quot;PyQt4\QtWebKit.pyc&quot;, line 12, in &lt;module&gt;<br>&nbsp;&nbsp; File &quot;PyQt4\QtWebKit.pyc&quot;, line 10, in __load<br>ImportError: No module named QtNetwork<br>
<br>Here&#39;s my setup.py file :<br><br>#!/usr/bin/env python<br># -*- coding: utf-8 -*-<br><br>from distutils.core import setup<br>import py2exe<br><br>setup( &nbsp;windows=[{&quot;script&quot;:&quot;main.py&quot;}],<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; options={<br>
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;py2exe&quot;:{&quot;includes&quot;:[&quot;sip&quot;]}} )<br><br>Any idea on how to fix this ?<br><br>Thanks.</blockquote></span></div>