没有运行服务器,杰克服务器没有运行或无法启动

在Python2.7环境下尝试使用pyaudio库时遇到了与ALSA相关的错误,显示为未知PCM卡和无法连接到服务器套接字。用户提到这可能是由于pyaudio版本问题,并试图通过更新来解决这个问题,但在更新过程中遇到了新的问题。
摘要由CSDN通过智能技术生成

我在尝试在python中使用pyaudio时遇到以下错误。在Python 2.7.10 (default, Oct 14 2015, 16:09:02)

[GCC 5.2.1 20151010] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import pyaudio

>>> p = pyaudio.PyAudio()

ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map

ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

这个问题似乎是特定于pyaudio的某个版本,所以尝试更新。

当我尝试更新pyaudio时:

^{pr2}$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值