[PyQt] Recipe for parallel installation of PyQt5 and PyQt4 on Windows

Detlev Offenbach detlev at die-offenbachs.de
Sat Jan 18 14:54:46 GMT 2014


here is a short info about how I got a parallel installation of PyQt4/Qt4 and PyQt5/Qt5 for Python3 
on Windows using the installers provided via the PyQt site.

1) Download both installers.
2) Install PyQt4
3) recommended: Install eric5 and verify, that eric5/PyQt4/Qt4 work ok.
4) Open an explorer window, move to the site-packages directory (e.g. C:\Python33\Lib\site-
5) Make a copy of the PyQt4 directory
6) Uninstall PyQt4 so the PyQt5 installer doesn't complain later on.
7) Install PyQt5
8) Rename the copy of the PyQt4 directory to 'PyQt4'
9) Voila.

My preliminary tests using the eric5 QRegularExpression wizard, which invokes a background 
process using PyQt5, worked fine.

If further tests of the community don't show severe issues, I would like to ask Phil to generate an 
installer including both PyQt4/Qt4 and PyQt5/Qt5 to make it easier for the community. It seems 
that most people on Windows don't like to compile something.

*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140118/f6cddef3/attachment.html>

More information about the PyQt mailing list