<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div>Since we&#39;ve established that recompiling PyQt using Python v2.6 doesn&#39;t fix the problem, what shall I try next?</div>

</div></blockquote><div><br>The problem was that the old &quot;/usr/lib/python2.5/site-packages/PyQt4/&quot;
directory still contained some &quot;.pyc&quot; files, so I removed it completely
and PyQt4 is now working again.<br><br>This possibly came about after I ran one of my PyQt4 applications as &#39;root&#39;.&nbsp; Perhaps the installation process should include the automatic detection and removal of old PyQt4 directories.<br>

<br></div></div>