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

Viewed 2429

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!

4 Answers

Try to update Your pip module and setuptools:

python3 -m pip install pip setuptools --upgrade

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

I also had problems and the following did not work: pip install pyqt6 python3 -m pip install pip setuptools --upgrade && pip3 sudo python3 -m pip install pip setuptools --upgrade && pip3 I kept getting an error about missing testresources I tried pip install testresources and then pip install pyqt6 and worked fine. Good Luck. This is like the blind leading the blind....

I also had problems and the following did not work: pip install pyqt6. Then python3 -m pip install pip setuptools --upgrade && pip3. And then sudo python3 -m pip install pip setuptools --upgrade && pip3. I kept getting an error about missing testresources. I tried pip install testresources and then pip install pyqt6 and it worked fine. I don't know how to separate the attempted commands. Carriage returns are ignored. Good Luck. This is like the blind leading the blind....

Related