没有名称为"portaudio"的可用公式或酒桶. [英] No available formula or cask with the name "portaudio"

查看:71
本文介绍了没有名称为"portaudio"的可用公式或酒桶.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了自制软件.

我正在尝试安装PyAudio,但是要安装PyAudio,我必须安装portaudio.我写了"brew install portaudio"在终端中,我遇到了很多错误.

错误:没有名称为"portaudio"的公式或酒桶.

致命:需要一次修订==>搜索名称相似的公式...错误:找不到类似名称的公式.错误:没有名称为"portaudio"的公式或酒桶.==>正在搜索先前删除的公式(在上个月)...错误:找不到以前删除的公式.==>正在GitHub上搜索水龙头...错误:在水龙头中找不到公式.

此后,我尝试了"pip install pyaudio"并出现更多错误.在此处输入图片描述

解决方案

在执行以下步骤后,我得到了确切的错误并解决了该问题:

  1. 卸载自制程序 ruby​​ -e" $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

  2. 重新安装自制软件/bin/bash -c" $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  3. 酿造安装端口音频

  4. 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:

  1. uninstall homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

  2. re-install homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  3. brew install portaudio

  4. pip install pyaudio

这篇关于没有名称为"portaudio"的可用公式或酒桶.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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