[PyQt] pyqtdeploy Windows error
Rob Kent
rob at gulon.co.uk
Tue Jul 30 14:38:27 BST 2019
Further to my last,
It seems to me that ‘_abc’ is a module that is compiled from C and therefore should be included in the python shared lib (is that correct?) and ‘_py_abc’ is a fallback pure python implementation that is not being included as it shouldn’t be needed. If thats’s the case: why can’t my application find the ‘abc’ module in the python lib? Where should I start to look for my misconfiguration?
Thanks, Rob
On 30 July 2019 at 13:16:23, Rob Kent (rob at gulon.co.uk) wrote:
HI there,
I’m creating a dead simple application to test a pyqtdeploy sysroot. Everything builds fine, but when I run it I get the following error:
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Traceback (most recent call last):
File ":/abc.py", line 105, in <module>
File "bootstrap.py", line 983, in _find_and_load
File "bootstrap.py", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_abc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bootstrap.py", line 983, in _find_and_load
File "bootstrap.py", line 967, in _find_and_load_unlocked
File "bootstrap.py", line 668, in _load_unlocked
File "bootstrap.py", line 638, in _load_backward_compatible
File ":/io.py", line 52, in <module>
File "bootstrap.py", line 983, in _find_and_load
File "bootstrap.py", line 967, in _find_and_load_unlocked
File "bootstrap.py", line 668, in _load_unlocked
File "bootstrap.py", line 638, in _load_backward_compatible
File ":/abc.py", line 109, in <module>
File "bootstrap.py", line 983, in _find_and_load
File "bootstrap.py", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_py_abc'
When I check the listed frozen files from pyqtdeploy-build although abc.py is there, neither _abc.py or _py_abc are included, although they are there in the lib directory.
My setup is:
Windows 10
MSVC 2017
Python 3.7.2
Qt 5.13.0
Sip 4.19.18
PyQt 5.13.0
My pyqtdeploy project file is set to use the windows shared library.
Any help gratefully appreciated,
Rob
_______________________________________________
PyQt mailing list PyQt at riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190730/d4d7195d/attachment-0001.html>
More information about the PyQt
mailing list