[PyQt] Error: Can't Import Anything

Chris Giles chris.g.27 at gmail.com
Fri Feb 6 23:10:12 GMT 2009


>
> Since we've established that recompiling PyQt using Python v2.6 doesn't fix
> the problem, what shall I try next?
>

The problem was that the old "/usr/lib/python2.5/site-packages/PyQt4/"
directory still contained some ".pyc" files, so I removed it completely and
PyQt4 is now working again.

This possibly came about after I ran one of my PyQt4 applications as
'root'.  Perhaps the installation process should include the automatic
detection and removal of old PyQt4 directories.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090206/30bcd719/attachment.html


More information about the PyQt mailing list