Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install PyQt5 on Raspberry Pi [duplicate]

I am trying to install PyQt5 on my Raspberry Pi machine.

I have tried:

pip3 install pyqt5

pip3 install --upgrade pip
pip3 install pyqt5==5.14.0

sudo apt-get update 
sudo apt-get install python3-pyqt5

they all give me the error:

  Using cached PyQt5-5.14.0.tar.gz (3.2 MB)
ERROR: pyqt5==5.14 from https://files.pythonhosted.org/packages/7c/5b/e760ec4f868cb77cee45b4554bf15d3fe6972176e89c4e3faac941213694/PyQt5-5.14.0.tar.gz#sha256=0145a6b7de15756366decb736c349a0cb510d706c83fda5b8cd9e0557bc1da72 has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6'
like image 377
asohasf1241 Avatar asked Oct 21 '25 17:10

asohasf1241


1 Answers

Please try :

sudo apt install python3-pyqt5
like image 120
everyt4u Avatar answered Oct 23 '25 07:10

everyt4u



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!