<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText">Hello,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I have a question about pyqt4 and pyqt5. I have an object serialized
<o:p></o:p></p>
<p class="MsoPlainText">using python 2.7 and pyqt4 library, and I would like to reopen it in
<o:p></o:p></p>
<p class="MsoPlainText">python 3.8 using pyqt5.<o:p></o:p></p>
<p class="MsoPlainText">I receive an error ("no module named pyqt4") when calling<o:p></o:p></p>
<p class="MsoPlainText">pickle.loads() reading the file containing the pickle data.<o:p></o:p></p>
<p class="MsoPlainText">What should I do in order to be able to reopen the serialized object
<o:p></o:p></p>
<p class="MsoPlainText">as a Python Object?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Kind Regards,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Nicola Raffo<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p style="Margin:0px 0px 0px 10px;font-size:10.0pt;font-family:"Verdana"">--</p>
<p style="Margin:3px 0px 0px 10px;font-size:10.0pt;font-family:"Verdana""><strong>Nicola Raffo</strong></p>
<p style="Margin:3px 0px 0px 10px;font-size:10.0pt;font-family:"Verdana"">Senior Product Development Specialist</p>
<p style="Margin:10px 0px 0px 10px;font-size:18.0pt;font-family:"Verdana""><a href="https://rulex.ai" ;="" style="text-decoration:none"><span style="color:#0073c6; font-weight: bold;">Rule</span><span style="color:#65d98e; font-weight: bold;">X</span></a></p>
<p style="Margin:10px 0px 0px 10px;font-size:7.5pt;font-family:"Verdana"">+39 010 8050 190<br>
</p>
<p style="Margin:3px 0px 0px 10px;font-size:7.5pt;font-family:"Verdana""><a href="https://"></p>
<p style="Margin:10px 0px 0px 10px;font-size:7.5pt;width:400px;text-align:justify;font-family:"Verdana"">
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.</p>
<style>p {
margin:0015px10px;
padding:0;
line-height:15px;
}</style></a>
</body>
</html>