[PyQt] Installing PyQt5 on macOS using Wheels

Florian Bruhin me at the-compiler.org
Thu Jul 20 21:08:22 BST 2017


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170720/37d76d50/attachment.sig>


More information about the PyQt mailing list