iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
25.79k stars 4.36k forks source link

[Linux] pyqt6==6.3.1 NOT SUPPORT on Ubuntu18 platform #92

Closed harrett closed 1 year ago

harrett commented 1 year ago

Unfortunately, it seemed that the latest PyQt6 is not supported on ubuntu platform. First, try this: pip install --upgrade pip && pip install PyQt6 And, build from wheels(download .whl from pypi.org): pip install ~/downloads/PyQt6_Qt6-6.3.0-py3-none-manylinux_2_28_x86_64.whl with error: ERROR: PyQt6_Qt6-6.3.0-py3-none-manylinux_2_28_x86_64.whl is not a supported wheel on this platform.

harrett commented 1 year ago

I finally found the point of the problem:

The problem is that PyQt6 depends on pyqt6-qt6, and the currently available wheels for pyqt6-qt6 require glibc version 2.28 or greater. As I am using Linux Mint 19 which has glibc 2.27, pip tries to build from source, which fails.

Hint: to check the glibc version, try ldd --version

Solution: upgrade Mint, or wait until @eyllanesc has a solution with an older glibc (or try to compile it myself).