Brew install pyqt5. Improve this question.