0

While I am installing pyqt5 ,using the command sudo apt-get install python-qt5,in terminal there comes a message with

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-qt5

What is the reason? Hope anyone will help?

  • The reason is that there is no python-qt5 package in the Ubuntu repos. – Pilot6 Jul 1 '17 at 13:59
5

The correct package name is python-pyqt5.

So run

sudo apt install python-pyqt5
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.