<div dir="ltr"><span class="Apple-style-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>