ANN: SIP v6.0.2, PyQt-builder v1.9.0, PyQt v5.15.3 and PyQt v6.0.2 Released

Phil Thompson phil at riverbankcomputing.com
Wed Feb 24 18:20:27 GMT 2021


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


More information about the PyQt mailing list