2016-04-03 159 views
3

在檢查 How to install PyQt on Mac OS X 10.6和一堆blogsites後,我嘗試了「brew install pyqt」。在Mac上安裝pyqt(v4.8)時出錯

clang: error: linker command failed with exit code 1 (use -v to see invocation) 
make[2]: *** [../../lib/QtCore.framework/QtCore] Error 1 
make[1]: *** [release] Error 2 
make: *** [sub-corelib-make_default-ordered] Error 2 

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 422 Unprocessable Entity (GitHub::Error) 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `catch' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open' 
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:30:in `open' 
from /usr/local/Library/Homebrew/utils.rb:343:in `open' 
from /usr/local/Library/Homebrew/utils.rb:373:in `issues_matching' 
from /usr/local/Library/Homebrew/utils.rb:401:in `issues_for_formula' 
from /usr/local/Library/Homebrew/exceptions.rb:145:in `fetch_issues' 
from /usr/local/Library/Homebrew/exceptions.rb:141:in `issues' 
from /usr/local/Library/Homebrew/exceptions.rb:184:in `dump' 
from /usr/local/Library/brew.rb:162:in `rescue in <main>' 
from /usr/local/Library/brew.rb:65:in `<main>' 

是否有人可以幫助我 - Specifially,

> brew install qt --with-developer --env=std 

但與此錯誤失敗了嗎?我發現open-uri.rb模塊存在問題,但我幾乎沒有使用Ruby的經驗。

回答

0

更新自制擺脫了這個錯誤對我說:

brew update 
+0

我想,已經:(沒有工作。 – wave5459