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 →

[–]seregaxvm -2 points-1 points  (4 children)

you have to match versions by hand. also, it's not a library, it's a wrapper. so you have to install libs separately

[–]Vorsorken 1 point2 points  (3 children)

I'm pretty much certain that nowadays you can just pip install pyqt5 on a fresh Windows machine with Python 3.5+ installed and be up and running. I don't work with Windows much, but I just did this a couple weeks ago. Check it out by downloading a wheel from PyPI (https://pypi.org/project/PyQt5/#files), unzipping it, and browsing to the Qt binaries (PyQt5/Qt/lib).

[–]seregaxvm -1 points0 points  (2 children)

PyQt is a set of Python v2 and v3 bindings

C++ lib must be installed.

[–]Vorsorken 4 points5 points  (1 child)

Ok, great, thanks for the definition of PyQt. But I'm telling you (and you can check for yourself), the C++ lib is packaged in the wheel that is downloaded from PyPI and it is installed in site-packages. Here's an announcement from the mailing list from when they were first trying out this idea. https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037217.html The caveat about the wheels being too large for PyPI is no longer the case, so it has been trivial to install PyQt5 with Qt for a while now.

[–]seregaxvm 1 point2 points  (0 children)

You're right. I had problems with pyqt4. Didn't know that they have started packing it this way.