The reason why you cannot pip install PyQt5
is because the Python Package Index (PyPi -- where pip
searches for packages) was not provided with the files to serve.
Put another way: when you use pip search
, you are being provided with a list of projects that have been registered with PyPi, whether or not downloadable source files were made available.
Contrast the PyPi page for easyos, where a download of the files has been made available, to PyQt5, where they have not been.
To install PyQt5, follow the "Download URL" on the PyPi page and install it according to the provider's instructions. You may have to repeat this process for additional packages and should make note of steps taken in case you have to repeat them in the future -- steps taken outside of pip
do not make it into your requirements.txt
.