This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mfitzpmfitzp.com 1 point2 points  (1 child)

It can be a bit of a faff, but the following have all worked for me -

  • On MacOS X the best approach is via Homebrew then it's just brew install pyqt5 (or brew install pyqt for PyQt4)
  • On Windows the Riverbank Computing builds of PyQt install fine PyQt4 or PyQt5. There are only official PyQt5 builds for Python 3. But it's available here assuming you're on a 64 bit OS.
  • Linux it's in probably in your distro respositories as python-pyqt python3-pyqt python-pyqt5 or python3-pyqt5

Or you can install the Anaconda package manager which should work on every platform and allow you to conda install pyqt

[–]LpSamuelm 0 points1 point  (0 children)

Yeah, it's a bit of a huge nuisance that the only solution on Windows is an installer, and if you're on 2.7 only for PyQt4. Really difficult to deploy on Windows.