[PyQt] Cannot install PyQt 5 on Ubuntu 14.04 (Python 3.4)
Ghislain Vaillant
ghisvail at gmail.com
Wed Jan 11 12:10:25 GMT 2017
On Wed, 2017-01-11 at 10:04 +0000, Phil Thompson wrote:
> 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.
But that kind of defeat the purpose of having a Python 3.4 compatible
wheel of PyQt5 hosted on PyPI if one still has to manually compile its
requirements.
> > 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
The discussion you linked sounds specific to Windows. I am confused,
since my issue is related to Linux (Ubuntu 14.04 specifically).
Ghis
More information about the PyQt
mailing list