FW: cannot make the python build-demo.py work

Suman Chatterjee sumanchatterjee at esri.com
Fri Mar 19 22:15:24 GMT 2021



From: Suman Chatterjee <sumanchatterjee at esri.com>
Sent: Friday, March 19, 2021 3:14 PM
To: Phil Thompson <phil at riverbankcomputing.com>
Subject: Re: cannot make the python build-demo.py work

Thank You so much for the info!! I was able to progress a little from that point after installing python outside the environment.
But now I am stuck at
(pyqtenv) C:\Users\sum10122\Documents\pyqtdemo\pyqtdeploy-3.1.1\demo>python build-demo.py
Verifying host architecture 'win-64'...
Verifying target architecture 'win-64'...
Verifying OpenSSL v1.1.1g...
Verifying Python v3.7.8...
Verifying PyQt v5.15.0...
Verifying PyQt3D v5.15.0...
Verifying PyQtChart v5.15.0...
Verifying PyQtDataVisualization v5.15.0...
Verifying PyQtPurchasing v5.15.0...
Verifying QScintilla v2.11.5...
Verifying Qt v5.15.0...
Verifying SIP v12.8.1...
Verifying zlib v1.2.11...
OpenSSL: installing component...
zlib: installing component...
Qt: installing component...
pyqtdeploy-sysroot: Qt: unable to unpack qt-everywhere-src-5.15.0.tar.xz.


I am able to unpack it manually though. Is there any configuration that I can change to point to the unpacked folder
From: Phil Thompson <phil at riverbankcomputing.com<mailto:phil at riverbankcomputing.com>>
Date: Friday, March 19, 2021 at 3:08 PM
To: Suman Chatterjee <sumanchatterjee at esri.com<mailto:sumanchatterjee at esri.com>>
Cc: pyqt at riverbankcomputing.com<mailto:pyqt at riverbankcomputing.com> <pyqt at riverbankcomputing.com<mailto:pyqt at riverbankcomputing.com>>
Subject: Re: cannot make the python build-demo.py work
On 19/03/2021 18:58, Suman Chatterjee wrote:
> I am trying to explore if I can at all make an Android build using
> PyQtDeploy for a PyQt project. But I do not seem to get it working.
> Here are the steps I did in my Windows machine :
>
>
>   1.  Installed Qt 5.15.0
>   2.  Create a new Python environment using Conda and activated the
> environment
>   3.  Installed python version 3.7.2
>   4.  Installed PyQtDeploy 3.1.1
>   5.  Installed Perl and added to path
>   6.  Installed Visual Studio 2019
>   7.  Downloaded and extracted the demo files for PyQtDeploy
>
> Then when I run
>
> Python build-demo.py I get the following
>
> (pyqtenv)
> C:\Users\sumXXX\Documents\pyqtdemo\pyqtdeploy-3.1.1\demo>python
> build-demo.py
> Verifying host architecture 'win-32'...
> Verifying target architecture 'win-32'...
> Verifying OpenSSL v1.1.1g...
> Verifying Python v3.7.8...
> pyqtdeploy-sysroot: Python: unable to find an installation of Python
> v3.7-32.
>
> What I am missing. I tried installing different Python versions but
> nothing works....
>
> Can anyone guide me in what to do to resolve the error

The demo will default to building 32 bits if your MSVC is not configured
(vcvars.bat).

I should also warn you that I've never used Windows as an Android build
host.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210319/20add130/attachment-0001.htm>


More information about the PyQt mailing list