gpt4 book ai didi

python - 在 Mac 上安装 pyqt (v4.8) 时出错

转载 作者:数据小太阳 更新时间:2023-10-29 08:11:29 26 4
gpt4 key购买 nike

检查后我尝试了“brew install pyqt” How to install PyQt on Mac OS X 10.6和一堆博客网站。具体来说,

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

但它因这个错误而失败了-

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>'

有人可以帮帮我吗?我看到 open-uri.rb 模块有问题,但我几乎没有使用 Ruby 的经验。

最佳答案

更新 Homebrew 软件为我消除了这个错误:

brew update

关于python - 在 Mac 上安装 pyqt (v4.8) 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36386761/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com