<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px; ; ">So, I created brand new, clean windows 10 install and used the pyqt-demo application in the pyqtdeploy source to create the sysroot.</div><div style="font-family:Helvetica,Arial;font-size:13px; ; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ; ">I now get the following error:</div><div style="font-family:Helvetica,Arial;font-size:13px; ; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ; "><div style="margin: 0px;">Traceback (most recent call last):</div><div style="margin: 0px;">  File "pyqt-demo.py", line 12, 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 953, in _find_and_load_unlocked</div><div style="margin: 0px;">  File "bootstrap.py", line 219, in _call_with_frames_removed</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 ":/PyQt5/__init__.py", line 41, in <module></div><div style="margin: 0px;">  File ":/PyQt5/__init__.py", line 33, in find_qt</div><div style="margin: 0px;">ImportError: unable to find Qt5Core.dll on PATH</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">My understanding is that (Py)Qt5 has been built statically and there are no DLLs… </div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Any help here would be gratefully appreciated…. so far only silence.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Thanks, Rob</div></div> <br> <div class="gmail_signature"></div> <br><p class="airmail_on">On 30 July 2019 at 15:24:18, Rob Kent (<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>




<title></title>


<div style="font-family:Helvetica,Arial;font-size:13px; ;">Even
further to my last,</div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<br></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">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.</div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<br></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">Thanks,
Rob</div>
<br>
<div class="gmail_signature"></div>
<br>
<p class="airmail_on">On 30 July 2019 at 14:38:30, Rob Kent
(<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<span>Further to my last,</span></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<span><br></span></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;"><span>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?</span></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<span><br></span></div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<span>Thanks, Rob</span></div>
<span><br></span>
<div class="gmail_signature"></div>
<span><br></span>
<p class="airmail_on"><span>On 30 July 2019 at 13:16:23, Rob Kent
(<a href="mailto:rob@gulon.co.uk">rob@gulon.co.uk</a>)
wrote:</span></p>
<blockquote type="cite" class="clean_bq">
<div>
<div>
<div style="font-family:Helvetica,Arial;font-size:13px; ;">
<div style="margin: 0px;"><span><span>HI there,</span></span></div>
<div style="margin: 0px;"><span><br></span></div>
<div style="margin: 0px;"><span>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:</span></div>
<div style="margin: 0px;"><span><br></span></div>
<div style="margin: 0px;"><span><br></span></div>
<div style="margin: 0px;"><span>Fatal Python error:
init_sys_streams: can't initialize sys standard
streams</span></div>
<div style="margin: 0px;"><span>Traceback (most recent call
last):</span></div>
<div style="margin: 0px;"><span>  File ":/abc.py", line 105,
in <module></span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
983, in _find_and_load</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
965, in _find_and_load_unlocked</span></div>
<div style="margin: 0px;"><span>ModuleNotFoundError: No module
named '_abc'</span></div>
<div style="margin: 0px;"><span><br></span></div>
<div style="margin: 0px;"><span>During handling of the above
exception, another exception occurred:</span></div>
<div style="margin: 0px;"><span><br></span></div>
<div style="margin: 0px;"><span>Traceback (most recent call
last):</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
983, in _find_and_load</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
967, in _find_and_load_unlocked</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
668, in _load_unlocked</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
638, in _load_backward_compatible</span></div>
<div style="margin: 0px;"><span>  File ":/io.py", line 52, in
<module></span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
983, in _find_and_load</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
967, in _find_and_load_unlocked</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
668, in _load_unlocked</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
638, in _load_backward_compatible</span></div>
<div style="margin: 0px;"><span>  File ":/abc.py", line 109,
in <module></span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
983, in _find_and_load</span></div>
<div style="margin: 0px;"><span>  File "bootstrap.py", line
965, in _find_and_load_unlocked</span></div>
<div style="margin: 0px;"><span>ModuleNotFoundError: No module
named '_py_abc'</span></div>
</div>
<div><span><br></span></div>
<div><span>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.</span></div>
<div><span><br></span></div>
<div><span>My setup is:</span></div>
<div><span><br></span></div>
<div><span>Windows 10</span></div>
<div><span>MSVC 2017</span></div>
<div><span>Python 3.7.2</span></div>
<div><span>Qt 5.13.0</span></div>
<div><span>Sip 4.19.18</span></div>
<div><span>PyQt 5.13.0</span></div>
<div><span><br></span></div>
<div><span>My pyqtdeploy project file is set to use the windows
shared library.</span></div>
<div><span><br></span></div>
<div><span>Any help gratefully appreciated,</span></div>
<div><span><br></span></div>
<div><span>Rob</span></div>
<div><span><br></span></div>
<div class="gmail_signature"></div>
<span>_______________________________________________<br>
PyQt mailing list PyQt@riverbankcomputing.com<br>
https://www.riverbankcomputing.com/mailman/listinfo/pyqt<br></span></div>
</div>
</blockquote>
</div>
</div>
</blockquote>


</div></div></span></blockquote></body></html>