Reputation: 341
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:
I have also tried with pip3
and I have tried installing in PyCharm:
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
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
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
Reputation: 196
had the same problem and tried running the command with sudo
and worked fine.
Upvotes: 0
Reputation: 2550
Try to update Your pip module and setuptools:
python3 -m pip install pip setuptools --upgrade
Upvotes: 12