Python PyQt on macOS Sierra

Bzzzt_90 picture Bzzzt_90 · Oct 2, 2016 · Viewed 43.8k times · Source

How can I get to work PyQt 4 or 5 on a Mac with OS X Sierra? It seems that I have to wait for a new version of PyQt but I am not sure if that is actually true.

Answer

Fardin Allahverdi picture Fardin Allahverdi · Feb 8, 2017

Make sure you have homebrew installed.

Use the following commands:

  1. brew tap cartr/qt4
  2. brew tap-pin cartr/qt4
  3. brew install qt
  4. brew install pyside