sudo apt install python3-pyqt5 python3-pyqt5.{qtsvg,qtwebkit,qtopengl}
This worked immediately without any issue.
Excellent!
I am curious.....where should I have been looking for that information if you were not available to deliver the answer on a silver platter?
I would recommend always doing an apt list first:
apt list '*python3*qt5*'or
dpkg-query -l '*py*qt5*'Then, when you see interestingly-named packages, check them via
apt show python3-pyqt5Personally, I like the Synaptic GUI (in X) package manager interface better. Just
sudo apt install synaptic, then run it (Menu > Administration > Synaptic Package Manager). Doing a package search for "python3" and "qt5" for names and descriptions pops it up immediately; that's what I normally do, and how I verified it.
Of course, this has the downside that you must be running on the target system already, to find stuff out. Yet, it is much, much faster than doing a web search.
I spent most of yesterday looking for a way to get PyQt5 installed on this Pi clone. Is this as obscure as I think it is, or am I just not looking in the right places?
Using Synaptic or Aptitude (apt package manager user interfaces), makes things much, much easier; give them a go.
Maintaining systems at the package level using command-line
apt tools only is pretty obscure and lots of work; that's why
Synaptic was developed in the first place. If you don't have X (and are, say, SSH'ing to it), then use
Aptitude, a terminal package manager (using ncurses); it provides the same features as Synaptic.
(Installing and updating packages is trivial on the command line, but finding out
exactly what to install is much easier using the nice search interfaces in the graphical user interface. It is that search-and-find-out step, that these GUI package managers help with; not the trivial tasks.)
In general terms, I have found that Windows power users have the hardest time to adapt to the idea of
always first do a search on the package manager instead of going on the web and downloading something to install; those completely new to computers find it much easier a maintenance approach.
I do not say this to disparage anyone, but to highlight the fact that this (package management) is one of the key "philosophical" differences, a major paradigm shift, between Windows and Linux. So, if you have lots of Windows maintenance/install experience, be aware of this key difference and remind yourself to do a package manager search (over names and descriptions)
before a web search, and it will become much easier. (The underlying reason is that while the package names
seem universal, they are very much up to the distribution managers, and can in fact vary between Linux distributions. However, if you always use the distros own package manager (via a nice GUI, preferably), you'll always do it the way the distro managers intended you; and the way you search for and find the appropriate packages to install is the same -- even if the names might vary.)
The transition period can be jarring and quite frustrating, however; but it will pass, if you persist.