<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px; ; "><div style="margin: 0px;">HI there,</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">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:</div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Fatal Python error: init_sys_streams: can't initialize sys standard streams</div><div style="margin: 0px;">Traceback (most recent call last):</div><div style="margin: 0px;"> File ":/abc.py", line 105, in <module></div><div style="margin: 0px;"> File "bootstrap.py", line 983, in _find_and_load</div><div style="margin: 0px;"> File "bootstrap.py", line 965, in _find_and_load_unlocked</div><div style="margin: 0px;">ModuleNotFoundError: No module named '_abc'</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">During handling of the above exception, another exception occurred:</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Traceback (most recent call last):</div><div style="margin: 0px;"> File "bootstrap.py", line 983, in _find_and_load</div><div style="margin: 0px;"> File "bootstrap.py", line 967, in _find_and_load_unlocked</div><div style="margin: 0px;"> File "bootstrap.py", line 668, in _load_unlocked</div><div style="margin: 0px;"> File "bootstrap.py", line 638, in _load_backward_compatible</div><div style="margin: 0px;"> File ":/io.py", line 52, in <module></div><div style="margin: 0px;"> File "bootstrap.py", line 983, in _find_and_load</div><div style="margin: 0px;"> File "bootstrap.py", line 967, in _find_and_load_unlocked</div><div style="margin: 0px;"> File "bootstrap.py", line 668, in _load_unlocked</div><div style="margin: 0px;"> File "bootstrap.py", line 638, in _load_backward_compatible</div><div style="margin: 0px;"> File ":/abc.py", line 109, in <module></div><div style="margin: 0px;"> File "bootstrap.py", line 983, in _find_and_load</div><div style="margin: 0px;"> File "bootstrap.py", line 965, in _find_and_load_unlocked</div><div style="margin: 0px;">ModuleNotFoundError: No module named '_py_abc'</div></div><div><br></div><div>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.</div><div><br></div><div>My setup is:</div><div><br></div><div>Windows 10</div><div>MSVC 2017</div><div>Python 3.7.2</div><div>Qt 5.13.0</div><div>Sip 4.19.18</div><div>PyQt 5.13.0</div><div><br></div><div>My pyqtdeploy project file is set to use the windows shared library.</div><div><br></div><div>Any help gratefully appreciated,</div><div><br></div><div>Rob</div><div><br></div><div class="gmail_signature" ></div></body></html>