[PyQt] Installing PyQt5 on macOS using Wheels

James Stearns - NOAA Affiliate james.stearns at noaa.gov
Thu Jul 20 21:20:05 BST 2017


>
> Try upgrading sip via "pip install -U sip".


That did the trick - it upgraded sip from 4.19.2 to 4.19.3.

Thanks, Florian!

Jim


On Thu, Jul 20, 2017 at 1:08 PM, Florian Bruhin <me at the-compiler.org> wrote:

> On Thu, Jul 20, 2017 at 01:05:07PM -0700, James Stearns - NOAA Affiliate
> wrote:
> > I have a PyQt5 application running on Windows that I'd like to get
> running
> > on macOS Sierra as well.
> >
> > I'd prefer to install from wheels rather than source, a method
> > described in Installing
> > PyQt5 <http://pyqt.sourceforge.net/Docs/PyQt5/installation.html> . When
> I
> > do so, and attempt to run a file importing PyQt5.QtCore, I get this
> error:
> >
> > RuntimeError: the sip module implements API v12.0 to v12.1 but the
> > > PyQt5.QtCore module requires API v12.2
>
> Try upgrading sip via "pip install -U sip".
>
> Florian
>
> --
> https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
>          I love long mails!  | https://email.is-not-s.ms/
>



-- 
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/20170720/31326952/attachment.html>


More information about the PyQt mailing list