安装 PyQt [英] Installing PyQt

查看:29
本文介绍了安装 PyQt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 mac 上安装 PyQt,以便我可以安装 python ghost.我已经安装了 Qt 和 SIP.我已经下载了 PyQt,但是当我运行

I'm trying to install PyQt on my mac so that I can install python ghost. I've already installed Qt, and SIP. I've downloaded PyQt, but when I run

python configure-ng.py    

我收到以下错误:

Error: Use the --qmake argument to explicitly specify a working Qt qmake.

对我应该做什么有什么想法吗?

Any ideas on what I should do?

推荐答案

由于您使用的是 Mac,我会使用 Homebrew.前几天这对我有用,但花了很长时间才完成:

Since you are on a Mac, I would use Homebrew. This worked for me the other day, but took a long time to finish:

brew install pyqt

这篇关于安装 PyQt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆