自制错误:在水龙头中找不到公式 [英] Homebrew Error: No formulae found in taps

查看:75
本文介绍了自制错误:在水龙头中找不到公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 MacBook Pro (OSX Sierra) 上安装 paramiko 而不通过 Xcode,因为我实在懒得安装 Xcode.

I'm trying to install paramiko on my MacBook Pro (OSX Sierra) without going through Xcode because I'm too lazy to install Xcode honestly.

尝试运行时:

brew install paramiko

我明白了:

Error: No available formula with the name "paramiko"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

我尝试通过以下方式打开自制软件:

I've tried untapping home-brew via:

brew untap homebrew

我得到:

Error: No available tap homebrew/php.

也试过了:

brew tap --repair
brew update

除了:

Updated 1 tap (caskroom/cask).
No changes to formulae.

如果我必须通过 Xcode,那很好,但我觉得这里的问题不是安装过程,而是水龙头的一些奇怪的东西......

If I have to go through Xcode, that's fine but I feel the issue here is not the installation process but something weird with the taps...

推荐答案

这对我有用.

运行 brew doctor

警告:有些点击不在默认的 git origin 分支上,可能会不接收更新.如果这对您来说是一个惊喜,请查看默认分支: git -C $(brew --repo homebrew/core) checkout大师

Warning: Some taps are not on the default git origin branch and may not receive updates. If this is a surprise to you, check out the default branch with: git -C $(brew --repo homebrew/core) checkout master

然后运行 ​​git -C $(brew --repo homebrew/core)

这篇关于自制错误:在水龙头中找不到公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆