Python3.9 PyPi installation error in Docker

Matic Kukovec kukovecmatic at hotmail.com
Wed May 24 14:09:28 BST 2023


Thank you Detlev.

I'm thinking I will try to compile QScintilla from source.
Is there anywhere an explicit list of dependencies needed for compiling from source? I looked at the "doc/README.doc" and it only mentiones qmake.

Matic


________________________________
From: Detlev Offenbach
Sent: Wednesday, May 24, 2023 12:10 PM
To: Matic Kukovec; QScintilla
Subject: Re: Python3.9 PyPi installation error in Docker


Hi,


unfortunately I am not able to recommend any specific Docker image, but any based on Ubuntu 22.4 or a recent Fedora would be ok. Debian 11 or openSUSE 15.4 based ones would suffer the same issue.


Detlev

Am 24.05.23 um 11:50 schrieb Matic Kukovec:
Hello Detlev,

Excellent, thanks for the information 👍

Can you perhaps recommend, which Docker image should be used for installing the latest PyQt6-QScintilla?
I'm using the one mentioned in the previous post, and that's the highest glibc they seem to have.

Best regards,
Matic


________________________________
From: Detlev Offenbach
Sent: Wednesday, May 24, 2023 11:27 AM
To: Matic Kukovec; QScintilla
Subject: Re: Python3.9 PyPi installation error in Docker


Hello Matic,


this is probably caused by the baseline Docker image having a glibc of version less than 2.32. You may work around this by installing PyQt6-QScintilla with the '--prefer-binary' option for pip. Please note, that this will install version 2.13.4 and not the latest one, which needs the glibc 2.32 or newer.


The same is need to install it on older distributions.


Regards,
Detlev


Am 24.05.23 um 11:11 schrieb Matic Kukovec:
Hi,

I have an Ubuntu machine where I'm trying to install PyQt6-QScintilla package from PyPi (Python 3.9) in a Docker image (http://quay.io/pypa/manylinux_2_28_x86_64:latest),
but skips all the wheels and tries to compile (and fails) the QScintilla2.14.0 from the source tarball:
#0 4.679   Skipping link: none of the wheel's tags (cp37-abi3-macosx_10_14_universal2) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/39/98/738ac13b3965684975761a8dd42f3fb7bb1434a55d7998f8a45aafc95d68/PyQt6_QScintilla-2.14.0-cp37-abi3-macosx_10_14_universal2.whl (from https://pypi.org/simple/pyqt6-qscintilla/) (requires-python:>=3.7)
#0 4.679   Skipping link: none of the wheel's tags (cp37-abi3-manylinux_2_32_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/1e/43/1485be8cdb0ec46d4178d71eeed1742bf0edc251a7a204663514c93cf38e/PyQt6_QScintilla-2.14.0-cp37-abi3-manylinux_2_32_x86_64.whl (from https://pypi.org/simple/pyqt6-qscintilla/) (requires-python:>=3.7)
#0 4.680   Skipping link: none of the wheel's tags (cp37-abi3-win_amd64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/98/a2/87711c7fce1ff86fcc10c7160f0423865538a64d8b2bee8f609d7598b949/PyQt6_QScintilla-2.14.0-cp37-abi3-win_amd64.whl (from https://pypi.org/simple/pyqt6-qscintilla/) (requires-python:>=3.7)
On the local system with Python3.9, it installs it without problems from the manylinux wheel.

Any advice would be greatly appreciated, thanks

Matic

--
Detlev Offenbach
detlev at die-offenbachs.de<mailto:detlev at die-offenbachs.de>

--
Detlev Offenbach
detlev at die-offenbachs.de<mailto:detlev at die-offenbachs.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20230524/629d891f/attachment.htm>


More information about the QScintilla mailing list