在Mac OSX 10.9上安裝PyQt4時出現的問題:錯誤:無法確定Qt安裝的細節。在Mac OSX 10.9上安裝PyQt4時出現問題:錯誤:無法確定Qt安裝的細節。
我已經安裝的Qt 5.2.1的Mac(378 MB)successfuly,該目錄是
/Users/Bravelee/Qt5.2.1/
我跟着這個步驟安裝PyQt4的:
- 安裝和使SIP(SIP- 4.15.3),successfuly
- 安裝和使PyQt4的;(發現錯誤)
wget http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10.3/PyQt-mac-gpl-4.10.3.tar.gz
tar -xzvf PyQt-mac-gpl-4.10.3.tar.gz
cd PyQt-mac-gpl-4.10.3
python configure-ng.py -q /Users/Bravelee/Qt5.2.1/5.2.1/clang_64/bin/qmake -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
錯誤如下:
BraveleedeMacBook-Pro:PyQt-mac-gpl-4.10.3 Bravelee$ python configure-ng.py -q /Users/Bravelee/Qt5.2.1/5.2.1/clang_64/bin/qmake -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
Error: Failed to determine the detail of your Qt installation. Try again using the --verbose flag to see more detail about the problem.
任何幫助將不勝感激,在此先感謝。 :)