macOS Sierra 上的 Python PyQt [英] Python PyQt on macOS Sierra
本文介绍了macOS Sierra 上的 Python PyQt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在装有 OS X Sierra 的 Mac 上使用 PyQt 4 或 5?看来我必须等待 PyQt 的新版本,但我不确定这是否真的如此.
How can I get to work PyQt 4 or 5 on a Mac with OS X Sierra? It seems that I have to wait for a new version of PyQt but I am not sure if that is actually true.
推荐答案
确保您已安装 homebrew.
使用以下命令:
brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt
brew install pyside
这篇关于macOS Sierra 上的 Python PyQt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文