您如何解决损坏的自制程序?

时间:2019-01-28 04:32:58

标签: homebrew

我似乎对此无能为力,更不用说用它来安装东西了,考虑到它简化了Mac安装的程度,这真是一场噩梦。我完全迷路了。我尝试过更新它,除了idk以外,我都将运行brew doctor并让所有人看到输出,并希望您能找到解决方案,无论是删除并重新安装自制软件还是简单的命令行修复方法。无论如何,这是我进入酿造医生所能得到的:

$ brew doctor
/usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `split': invalid byte sequence in UTF-8 (ArgumentError)
    from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `block in parse'
    from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `each'
    from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `flat_map'
    from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `parse'
    from /usr/local/Homebrew/Library/Homebrew/PATH.rb:8:in `initialize'
    from /usr/local/Homebrew/Library/Homebrew/global.rb:106:in `new'
    from /usr/local/Homebrew/Library/Homebrew/global.rb:106:in `<top (required)>'
    from /usr/local/Homebrew/Library/Homebrew/brew.rb:17:in `require_relative'
    from /usr/local/Homebrew/Library/Homebrew/brew.rb:17:in `<main>'

0 个答案:

没有答案