Re: Missing libQt5Xml when running pylupdate

Denis Rouzaud <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAMtsY+au__miEj33qg+riMyuZeTmppamZrmPXQvLBj29JjrEQg@mail.gmail.com>
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 <[email protected]> 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
>
> $
>
>
>

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.