<div dir="ltr"><div>someone on the webkit irc was nice enough to help me...</div><div><br></div><div>turns out the trivial solution to this is to include PyQt4.QtNetwork</div><div><br><br><div class="gmail_quote">On Tue, Sep 9, 2008 at 6:50 PM, <span dir="ltr"><<a href="mailto:echo0101@gmail.com">echo0101@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="Wj3C7c"><div dir="ltr"><span style="border-collapse:collapse">Hi, <div><br></div><div>I am having the same problem using py2exe with a pyqt application with qwebview. 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'm trying to make an exe from a PyQt4 app that uses WebKit. But I've got the <br>following problem :<br><br>Traceback (most recent call last):<br> File "main.py", line 11, in <module><br>
File "app_ui.pyc", line 172, in <module><br> File "PyQt4\QtWebKit.pyc", line 12, in <module><br> File "PyQt4\QtWebKit.pyc", line 10, in __load<br>ImportError: No module named QtNetwork<br>
<br>Here'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( windows=[{"script":"main.py"}],<br> options={<br>
"py2exe":{"includes":["sip"]}} )<br><br>Any idea on how to fix this ?<br><br>Thanks.</blockquote></span></div>
</div></div></blockquote></div><br></div></div>