<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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Suman Chatterjee <sumanchatterjee@esri.com> <br>
<b>Sent:</b> Friday, March 19, 2021 3:14 PM<br>
<b>To:</b> Phil Thompson <phil@riverbankcomputing.com><br>
<b>Subject:</b> Re: cannot make the python build-demo.py work<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank You so much for the info!! I was able to progress a little from that point after installing python outside the environment.<o:p></o:p></p>
<p class="MsoNormal">But now I am stuck at <o:p></o:p></p>
<p class="MsoNormal">(pyqtenv) C:\Users\sum10122\Documents\pyqtdemo\pyqtdeploy-3.1.1\demo>python build-demo.py<o:p></o:p></p>
<p class="MsoNormal">Verifying host architecture 'win-64'...<o:p></o:p></p>
<p class="MsoNormal">Verifying target architecture 'win-64'...<o:p></o:p></p>
<p class="MsoNormal">Verifying OpenSSL v1.1.1g...<o:p></o:p></p>
<p class="MsoNormal">Verifying Python v3.7.8...<o:p></o:p></p>
<p class="MsoNormal">Verifying PyQt v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying PyQt3D v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying PyQtChart v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying PyQtDataVisualization v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying PyQtPurchasing v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying QScintilla v2.11.5...<o:p></o:p></p>
<p class="MsoNormal">Verifying Qt v5.15.0...<o:p></o:p></p>
<p class="MsoNormal">Verifying SIP v12.8.1...<o:p></o:p></p>
<p class="MsoNormal">Verifying zlib v1.2.11...<o:p></o:p></p>
<p class="MsoNormal">OpenSSL: installing component...<o:p></o:p></p>
<p class="MsoNormal">zlib: installing component...<o:p></o:p></p>
<p class="MsoNormal">Qt: installing component...<o:p></o:p></p>
<p class="MsoNormal">pyqtdeploy-sysroot: Qt: unable to unpack qt-everywhere-src-5.15.0.tar.xz.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am able to unpack it manually though. Is there any configuration that I can change to point to the unpacked folder<o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>><br>
<b>Date: </b>Friday, March 19, 2021 at 3:08 PM<br>
<b>To: </b>Suman Chatterjee <<a href="mailto:sumanchatterjee@esri.com">sumanchatterjee@esri.com</a>><br>
<b>Cc: </b><a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a> <<a href="mailto:pyqt@riverbankcomputing.com">pyqt@riverbankcomputing.com</a>><br>
<b>Subject: </b>Re: cannot make the python build-demo.py work<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">On 19/03/2021 18:58, Suman Chatterjee wrote:<br>
> I am trying to explore if I can at all make an Android build using<br>
> PyQtDeploy for a PyQt project. But I do not seem to get it working.<br>
> Here are the steps I did in my Windows machine :<br>
> <br>
> <br>
>   1.  Installed Qt 5.15.0<br>
>   2.  Create a new Python environment using Conda and activated the <br>
> environment<br>
>   3.  Installed python version 3.7.2<br>
>   4.  Installed PyQtDeploy 3.1.1<br>
>   5.  Installed Perl and added to path<br>
>   6.  Installed Visual Studio 2019<br>
>   7.  Downloaded and extracted the demo files for PyQtDeploy<br>
> <br>
> Then when I run<br>
> <br>
> Python build-demo.py I get the following<br>
> <br>
> (pyqtenv)<br>
> C:\Users\sumXXX\Documents\pyqtdemo\pyqtdeploy-3.1.1\demo>python<br>
> build-demo.py<br>
> Verifying host architecture 'win-32'...<br>
> Verifying target architecture 'win-32'...<br>
> Verifying OpenSSL v1.1.1g...<br>
> Verifying Python v3.7.8...<br>
> pyqtdeploy-sysroot: Python: unable to find an installation of Python <br>
> v3.7-32.<br>
> <br>
> What I am missing. I tried installing different Python versions but<br>
> nothing works....<br>
> <br>
> Can anyone guide me in what to do to resolve the error<br>
<br>
The demo will default to building 32 bits if your MSVC is not configured <br>
(vcvars.bat).<br>
<br>
I should also warn you that I've never used Windows as an Android build <br>
host.<br>
<br>
Phil<o:p></o:p></p>
</div>
</div>
</body>
</html>