After doing sudo apt update
, I start typing sudo apt install pyqt
and then press the tab key twice to see what packages are available:
pyqi pyqt5chart-dev pyqt5.qsci-dev pyqwt3d
pyqso pyqt5-dev pyqt5webengine
pyqt5 pyqt5-dev-tools pyqt-qwt
pyqt5chart pyqt5-examples pyquery
And then, when I try installing with sudo apt install pyqt5
, it says E: Unable to locate package pyqt5
. Why list it then when I hit the tab key twice?
It looks like you have discovered a bug with
apt
andapt-get
auto-completion.The
pyqt5
is a name of source code package for various pyqt5-related packages which are compiled from it.