没有名称为"portaudio"的可用公式或酒桶. [英] No available formula or cask with the name "portaudio"
问题描述
我已经安装了自制软件.
我正在尝试安装PyAudio,但是要安装PyAudio,我必须安装portaudio.我写了"brew install portaudio"在终端中,我遇到了很多错误.
错误:没有名称为"portaudio"的公式或酒桶.
致命:需要一次修订==>搜索名称相似的公式...错误:找不到类似名称的公式.错误:没有名称为"portaudio"的公式或酒桶.==>正在搜索先前删除的公式(在上个月)...错误:找不到以前删除的公式.==>正在GitHub上搜索水龙头...错误:在水龙头中找不到公式.此后,我尝试了"pip install pyaudio"并出现更多错误.在此处输入图片描述
在执行以下步骤后,我得到了确切的错误并解决了该问题:
-
卸载自制程序
ruby -e" $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
-
重新安装自制软件
/bin/bash -c" $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
酿造安装端口音频
-
pip install pyaudio
I have installed homebrew.
I was trying install PyAudio but to install PyAudio I had to install portaudio . I wrote " brew install portaudio " in terminal and I got many errors.
Error: No available formula or cask with the name "portaudio".
fatal: Needed a single revision ==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula or cask with the name "portaudio". ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.
After this I tried " pip install pyaudio " and got more errors. enter image description here
i got those exact errors and solved it after following these steps:
uninstall homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
re-install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install portaudio
pip install pyaudio
这篇关于没有名称为"portaudio"的可用公式或酒桶.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!