I have a Raspberry Pi 3 with Raspbian installed, along with a 7" touch screen. I'm in the process of creating an application in Python to read several DS18B20 Thermocouples to monitor the temperature of several aquariums (relays attached to heaters will be added later). I have a form that I created in QT and converted to PyQt5 (through te command line tool) and everything looks the way I want it, except that I can't find the library for PyQT5 for the Raspberry Pi. How/where can I find this?
OK... I managed to get this to work. This is what I did.
QT Core needs to be installed with
sudo apt-get install qt5-default
You'll need to extract each of them, using the tar command, with the -xzvf tag so you'll end up with tar -xzvf sip-4.19.1.tar.gz`for sip.
In each folder, you'll need to set up for the build. This is done by typing "python config.py" in each directory.
The contents of each directory needs to be built and installed, go to your sip folder and type "make" this will take a very long time. After it's through, type "sudo make install".
Now do the same thing in your PyQt5 directory.
I can't leave a comment, not enough reputation, but thought I should mention this in case it helps anyone using VirtualEnv:
In my case (Raspbian on a Raspberry Pi 3, Python 3 in a virtual environment) the answer provided by CharlieHorse is the only one which worked as I could not get
sudo apt-get install
to install into virtual environments. I tried something like this question on Stack Overflow but because PyQt5 relies on SIP which interfaces with some C code, it needs to be compiled from scratch and can't just be copied, as recommended in the accepted answer of that question.