[英]problems installing pyqt in macOs
你好,
我正在嘗試在 macos 中安裝 pyqt。 我在互聯網上讀到我需要:sip + pyqt + qt(顯然)我安裝 qt 和 sip 沒有問題。 當我嘗試安裝 pyqt 時,我可以在終端看到以下錯誤:
python configure.py
Error: A Qt installation could not be found. Use the -q argument or the QTDIR environment variable to explicitly specify the correct directory.
有人知道我應該在終端上寫什么嗎?
謝謝,
納喬
python configure.py -q /usr/bin/qmake-4.x
x 當然是你擁有的任何 qmake 版本。
您要為 Qt 3 安裝 PyQt 還是為 Qt 4 安裝 PyQt4?
The error message looks like the one from PyQt for Qt 3, in which case the argument to the -q option is the directory containing the bin, lib and include directories where the Qt executables, libraries and header files are installed.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.