ubuntu 14.04 can not use apt to install python-pyqt5

Asked by liukeqi

Hi, everyone
   I want to use the ubuntu 14.04 to compile the yade source code and I successfully complie it a half years ago. But when I followed the step on the website of yade to complie it recently and execute "sudo apt-get install python-pyqt5", I found the following question that "unable to locate package python-pyqt5". If I skipped this step, I will suffer the error when I use kdevelop to compile it. I searched the solution on the Internet, and found someone said that the "python-pyqt5" did not exist in the ubuntu repository any more and gave an complex solution.Due to I am a newer to ubuntu system. Is there any simple solutions. Can you give me some suggestions. Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
liukeqi
Solved:
Last query:
Last reply:
Revision history for this message
Klaus Thoeni (klaus.thoeni) said :
#1

Hi,

on 14.04 you need compile with qt4 and install related packages:

python-qt4 pyqt4-dev-tools

When compiling you have to set -DUSE_QT5=0.

HTH
Klaus

Revision history for this message
liukeqi (891979456-h) said :
#2

Thanks Klaus. It solved my question.