[PyQt] Missing libQt5Xml when running pylupdate

Denis Rouzaud denis.rouzaud at gmail.com
Thu Dec 26 10:37:53 GMT 2019


Apprently, libQt5Xml.so.5 is well included in the wheel.
The issue is that it is not found during runtime.
I could fix this by
doing: LD_LIBRARY_PATH=/usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/:$LD_LIBRARY_PATH
python
-c "from PyQt5.pylupdate_main import main"

What is the correct way to solve this?

Cheers,
Denis

Le sam. 21 déc. 2019 à 23:12, Denis Rouzaud <denis.rouzaud at gmail.com> a
écrit :

> I am running pylupdate on Travis by installing PyQt5 from pip.
> Since recently, I am getting this error.
> Any idea?
> Cheers,
> Denis
>
>   File "/home/travis/virtualenv/python3.7.1/bin/pylupdate5", line 6, in <module>
> 263    from PyQt5.pylupdate_main import main
> 264  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/PyQt5/pylupdate_main.py", line 24, in <module>
> 265    from .pylupdate import *
> 266ImportError: libQt5Xml.so.5: cannot open shared object file: No such file or directory
> 267
> 268
>
> $
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20191226/e9e7c142/attachment.html>


More information about the PyQt mailing list