ubuntu 装pyqt5_ubuntu 15.10下安装PyQt5

在Ubuntu 14.04上安装PyQt5时遇到问题,首先需要安装QT 5,但即便安装后,`qmake --version`显示的仍然是Qt 4.8.6。使用`sudo apt-get install qt5-default`后,配置PyQt5时又提示缺少sip和Python头文件。解决方法是安装python-dev包。
摘要由CSDN通过智能技术生成

I want to install PyQt5 on Ubuntu 14.04.2. Once downloaded and uncompressed, I run python configure.py as it is mentioned on the previous link. However, it asks me to install QT 5 or later. Which thing I did.

When I come back to run the command above, I get the same error:begueradj@begueradj-hacker:~/Bureau/PyQt-gpl-5.4.1# python configure.py

Querying qmake about your Qt installation...

Error: PyQt5 requires Qt v5.0 or later. You seem to be using v4.8.6. Use the

--qmake flag to specify the correct version of qmake.

However, after Qt5 installation, when I run this: qmake --version

I get this:

QMake version 2.01a Using Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu

sudo apt-get install qt5-default,

begueradj@begueradj-hacker:~/Bureau/PyQt-gpl-5.4.1# python configure.py

Querying qmake about your Qt installation...

Determining the details of your Qt i

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值