'pip install PyQt6 producing "No matching distribution..." error

I've been trying to install PyQt6 on my Ubuntu machine, running Python 3.8.10.

Following the instructions on the site, I have tried the following:

enter image description here

I have also tried with pip3 and I have tried installing in PyCharm:

enter image description here

Any suggestions on how i can satisfy the distribution they're looking for? I'm not really sure what is meant by these error messages.

Thanks!



Solution 1:[1]

Try to update Your pip module and setuptools:

python3 -m pip install pip setuptools --upgrade

Solution 2:[2]

had the same problem and tried running the command with sudo and worked fine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Domarm
Solution 2 AMM