Anson Savage
Anson Savage

Reputation: 341

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!

Upvotes: 4

Views: 9571

Answers (4)

steve haase
steve haase

Reputation: 1

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....

Upvotes: -1

steve haase
steve haase

Reputation: 1

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....

Upvotes: 0

AMM
AMM

Reputation: 196

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

Upvotes: 0

Domarm
Domarm

Reputation: 2550

Try to update Your pip module and setuptools:

python3 -m pip install pip setuptools --upgrade

Upvotes: 12

Related Questions