[PyQt] Cannot install PyQt 5 on Ubuntu 14.04 (Python 3.4)
Phil Thompson
phil at riverbankcomputing.com
Wed Jan 11 10:04:02 GMT 2017
On 10 Jan 2017, at 10:52 pm, Ghislain Vaillant <ghisvail at gmail.com> wrote:
>
> On Tue, 2017-01-10 at 22:08 +0000, Phil Thompson wrote:
>> On 10 Jan 2017, at 6:45 pm, Ghislain Vaillant <ghisvail at gmail.com> wrote:
>>>
>>> Although there are wheels available for Python 3.4 now, it is still not possible to install PyQt 5 in a venv created on Ubuntu 14.04.
>>>
>>> I get the following error:
>>>
>>> ```
>>> pip install pyqt5
>>> Collecting pyqt5
>>> Using cached PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-abi3-manylinux1_x86_64.whl
>>> Collecting sip>=4.19 (from pyqt5)
>>> Could not find a version that satisfies the requirement sip>=4.19 (from pyqt5) (from versions: )
>>> No matching distribution found for sip>=4.19 (from pyqt5)
>>> ```
>>>
>>> Checking on PyPI, there are only wheels for sip==4.19 for Python 3.5+ and no tarball at all, hence the failure.
>>
>> There are no SIP wheels for Python v3.4 because it's less confusing to support the same versions across all platforms.
>>
>> Phil
>
> So, how am I supposed to install the PyQt5 wheel on Python 3.4 then?
You could build and install SIP your self and then pip install PyQt5 with --no-deps.
> Besides, I did not understand your justification for the lack of sip
> wheel for Python 3.4.
https://www.riverbankcomputing.com/pipermail/pyqt/2016-December/038476.html
Phil
More information about the PyQt
mailing list