无法通过自家酿造安装包装



我正在安装诸如Keras,gnuplot或张量流的新软件包。但是我的自家酿造不断给我一个错误,我无法确定到底有什么问题。

我已经尝试了升级家庭酿造和许多其他功能。但是他们似乎不起作用。我对Unix非常陌生,因此,我对大多数这些错误都不熟悉。

确实让我知道解决这个问题的解决方案。

如果我打字: brew install gnuplot我明白了:

portable-ruby/2.3.3_2/share/man/man1/ri.1: Failed to create dir 'portable-ruby/2.3.3_2'Can't create 'portable-ruby/2.3.3_2/share/man/man1/ri.1'
portable-ruby/2.3.3_2/share/man/man1/ruby.1: Failed to create dir 'portable-ruby/2.3.3_2'Can't create 'portable-ruby/2.3.3_2/share/man/man1/ruby.1'
tar: Error exit delayed from previous errors.
Error: Failed to upgrade vendor ruby.
Error: Failed to upgrade vendor Ruby.
Updating Homebrew...
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
Cannot save the current index state
Error: Could not 'git stash' in /usr/local/Homebrew!
Please stash/commit manually if you need to keep your changes or, if not, run:
  cd /usr/local/Homebrew
  git reset --hard origin/master
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- dbm (LoadError)

尝试运行酿酒医生,然后酿造升级。这应该解决您的问题,您可以正确安装它。

最新更新