<div dir="auto">Hi Phil,<div dir="auto"><br></div><div dir="auto">Here is a minimal example with a docker file</div><div dir="auto"><br></div><div dir="auto"><pre style="margin-top:0px;margin-bottom:0.8em;padding:10px;border:0px;line-height:inherit;font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace;font-size:13px;vertical-align:baseline;color:rgb(57,51,24);background-color:rgb(240,240,240);max-height:300px"><code style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:consolas,menlo,monaco,"lucida console","liberation mono","dejavu sans mono","bitstream vera sans mono","courier new",monospace;vertical-align:baseline;max-height:300px"><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">FROM python</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">:</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">3.7</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">
RUN pip install </span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(43,145,175)">PyQt5</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">
RUN echo $</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">(</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">ls </span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">usr</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">local</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">lib</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">python3</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">7</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">site</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">-</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">packages</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(43,145,175)">PyQt5</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(43,145,175)">Qt</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">lib</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">libQt5Xml</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">so</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">5</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">)</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">
RUN ldd </span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">usr</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">local</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">lib</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">python3</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">7</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">site</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">-</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">packages</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(43,145,175)">PyQt5</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(43,145,175)">Qt</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">lib</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">/</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">libQt5Xml</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">so</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">5</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">
RUN python </span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">-</span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(48,51,54)">c </span><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(125,39,39)">"from PyQt5.pylupdate_main import main"</span></code></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 29 déc. 2019 à 11:51, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can't reproduce this.<br>
<br>
Phil<br>
<br>
<br>
On 26/12/2019 10:37, Denis Rouzaud wrote:<br>
> Apprently, libQt5Xml.so.5 is well included in the wheel.<br>
> The issue is that it is not found during runtime.<br>
> I could fix this by<br>
> doing:<br>
> LD_LIBRARY_PATH=/usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/:$LD_LIBRARY_PATH<br>
> python<br>
> -c "from PyQt5.pylupdate_main import main"<br>
> <br>
> What is the correct way to solve this?<br>
> <br>
> Cheers,<br>
> Denis<br>
> <br>
> Le sam. 21 déc. 2019 à 23:12, Denis Rouzaud <<a href="mailto:denis.rouzaud@gmail.com" target="_blank" rel="noreferrer">denis.rouzaud@gmail.com</a>> a<br>
> écrit :<br>
> <br>
>> I am running pylupdate on Travis by installing PyQt5 from pip.<br>
>> Since recently, I am getting this error.<br>
>> Any idea?<br>
>> Cheers,<br>
>> Denis<br>
>> <br>
>> File "/home/travis/virtualenv/python3.7.1/bin/pylupdate5", line 6, <br>
>> in <module><br>
>> 263 from PyQt5.pylupdate_main import main<br>
>> 264 File <br>
>> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/PyQt5/pylupdate_main.py", <br>
>> line 24, in <module><br>
>> 265 from .pylupdate import *<br>
>> 266ImportError: libQt5Xml.so.5: cannot open shared object file: No <br>
>> such file or directory<br>
>> 267<br>
>> 268<br>
>> <br>
>> $<br>
>> <br>
>> <br>
>> <br>
> <br>
> _______________________________________________<br>
> PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank" rel="noreferrer">PyQt@riverbankcomputing.com</a><br>
> <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
<br>
</blockquote></div>