ANN: SIP v6.0.2, PyQt-builder v1.9.0, PyQt v5.15.3 and PyQt v6.0.2 Released
Eric Larson
larson.eric.d at gmail.com
Wed Feb 24 18:23:14 GMT 2021
Indeed it works for me if I use a clean venv.
It also works for me if I do `pip uninstall pyqt5 pyqt5-qt` then `pip
install pyqt5 pyqt5-qt` (even though it used the cached ones!), so looks
like that's a suitable workaround!
Eric
On Wed, Feb 24, 2021 at 1:20 PM Phil Thompson <phil at riverbankcomputing.com>
wrote:
> On 24/02/2021 18:08, Eric Larson wrote:
> > I have a problem with 5.13.32 on Ubuntu 20.10 x86_64 installation via
> > pip
> > after upgrading:
> >
> > $ python -c "from PyQt5.QtWidgets import QApplication, QWidget; app =
> > QApplication([])"
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version
> > `Qt_5.15'
> > not found (required by
> > /home/larsoner/.local/lib/python3.9/site-packages/PyQt5/
> QtWidgets.abi3.so)
> >
> > Similar error on CircleCI
> > <
> https://app.circleci.com/pipelines/github/mne-tools/mne-python/6435/workflows/9c93b654-5a25-4b5b-a0d4-1a0eeba1c70f/jobs/25378
> >
> > which
> > uses pip:
> >
> > ImportError: libQt5Widgets.so.5: cannot open shared object file: No
> > such
> > file or directory
> >
> > Do I need to update my projects to depend on the Qt libraries in
> > addition
> > to PyQt5 now?
>
> No.
>
> > This seems like a backward compat break as `pip install
> > pyqt5` will no longer "just work" for people.
>
> I'd suggest completely uninstalling the old version before installing
> the new one.
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210224/1399188f/attachment.htm>
More information about the PyQt
mailing list