Re: Missing libQt5Xml when running pylupdate

Denis Rouzaud <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAMtsY+bmscGreBcWsVNaR+UR8ej=6tKa6=s=yj5yuxqROn=CUA@mail.gmail.com>
Hi Phil,

Here is a minimal example with a docker file

FROM python:3.7
RUN pip install PyQt5
RUN echo $(ls /usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/libQt5Xml.so.5)
RUN ldd /usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/libQt5Xml.so.5
RUN python -c "from PyQt5.pylupdate_main import main"


Le dim. 29 déc. 2019 à 11:51, Phil Thompson <[email protected]> a
écrit :

> I can't reproduce this.
>
> Phil
>
>
> On 26/12/2019 10:37, Denis Rouzaud wrote:
> > 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
>
>

_______________________________________________
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.