PyQt from py27 to py38

Nicola Raffo nicola.raffo at
Tue Oct 26 09:12:13 BST 2021


I have a question about pyqt4 and pyqt5. I have an object serialized

using python 2.7 and pyqt4 library, and I would like to reopen it in

python 3.8 using pyqt5.

I receive an error ("no module named pyqt4") when calling

pickle.loads() reading the file containing the pickle data.

What should I do in order to be able to reopen the serialized object

as a Python Object?

Kind Regards,

Nicola Raffo


Nicola Raffo

Senior Product Development Specialist


+39 010 8050 190


PLEASE NOTE: This e-mail and any attachments may be confidential or privileged and is intended solely for the addressee(s). Do not share or use without Rulex's approval. If received in error, please contact the sender and delete the email and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list