Re: pyqtdeploy Windows error
Rob Kent <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
Even further to my last, Doesn’t seem to matter whether I link against the .lib file generated as part of the sysroot or against the .dll belonging to the host python: exactly the same result. Thanks, Rob On 30 July 2019 at 14:38:30, Rob Kent ([email protected]) wrote: 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 ([email protected]) 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 [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt