[PyQt] Unable to run PyQtDeploy-build successfully

Suman Chatterjee sum_chat at hotmail.com
Sun Mar 22 23:55:02 GMT 2020

Just noticed that it was trying to get the Qt files from /Users/sum10122/Documents/dev/aroot.
But PyQt5 was not there. When I copied PyQt5 in that folder it worked.

But I am wondering when the aroot folder was created and also why it is looking in that folder? Anybody can shed some light on it ..

On Mar 22, 2020, at 4:21 PM, Suman Chatterjee <sum_chat at hotmail.com<mailto:sum_chat at hotmail.com>> wrote:

I am using PyQtDeploy to build a Qt python project in order to be deployed in other mobile devices. The steps that I took are:

1) created a PyQtDeploy project using pyqtdeploy pyqt-demo.pdy where I defined all the packages

(qt-venv) sumanc2:testpythonbuild sum10122$ pyqtdeploy pyqt-demo.pdy

2) Then used pyqtdeploy-build pyqt-demo.pdy to generate the .pro file and freeze the files.

(qt-venv) sumanc2:testpythonbuild sum10122$ pyqtdeploy-build  pyqt-demo.pdy

But I am getting the below error while freezing  PyQt5

Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/strtypes.py...
Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/win32.py...
Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/z85.py...
Freezing /Users/sum10122/Documents/dev/aroot/lib/python3.7/site-packages/PyQt5/__init__.py...
pyqtdeploy-build: Unable to freeze files

The __init__.py file is empty though in Mac OS.

I am stuck right now at this point. Any help will really be appreciated

Thank You,

PyQt mailing list    PyQt at riverbankcomputing.com<mailto:PyQt at riverbankcomputing.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200322/62431e35/attachment-0001.htm>

More information about the PyQt mailing list