[PyQt] Installing PyQt5 on CentOS using Wheels

James Stearns - NOAA Affiliate james.stearns at noaa.gov
Wed Jul 19 00:05:55 BST 2017


I have a PyQt5 application running on Windows that I'd like to get running
on CentOS 6 as well. I'd prefer to install from wheels rather than source,
as described in Installing PyQt5
<http://pyqt.sourceforge.net/Docs/PyQt5/installation.html> . When I do so,
and attempt to run, I get this error:

ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
> /home/jsnoaa/pyqt5-framdata/virtualenv/centos_pyqt5_framdata/lib/python3.6/site-packages/PyQt5/QtCore.so)


My read of the error: QtCore.so is expecting a /lib64/libc-2.14.so or
later, but /lib64/libc.so.6 on CentOS 6.9 is linked to /lib64/libc-2.12.so.

Environment:

   - CentOS release 6.9 (Final) (2.6.32-696.6.3.el6.x86_64)
   - Python 3.6.1 (wget
   http://python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz)
   - PyQt5 5.9 (pip3.6 PyQt5==5.9)

I read with interest How to Install Qt 5 and Qwt on CentOS 6
<http://wiki.qt.io/How_to_Install_Qt_5_and_Qwt_on_CentOS_6>. Is this note
saying that one must install PyQt5 onto CentOS 6 by compilation, not from
wheels?

Thanks,

Jim Stearns

Software Engineer, NOAA Affiliate
Earth Resources Technology, Inc. (ERT, Inc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170718/0f034882/attachment.html>


More information about the PyQt mailing list