报错解决command ‘gcc‘ failed with exit status 1

通过运行' sudo apt-get install portaudio19-dev python-all-dev '成功解决了报错' command 'gcc' failed with exit status 1 '的问题。
摘要由CSDN通过智能技术生成

sudo apt-get install portaudio19-dev python-all-dev一句解决

问题描述:

(tf) sll@lynn:~$ pip install python-rtmidi
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting python-rtmidi
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/af/fb/705cbdc6f27bdb428f57f4751034665798ca166fad7acb57a28a148a1549/python-rtmidi-1.3.0.tar.gz (233kB)
     |████████████████████████████████| 235kB 3.7MB/s 
Building wheels for collected packages: python-rtmidi
  Building wheel for python-rtmidi (setup.py) ... error
  ERROR: Complete output from command /home/sll/anaconda3/envs/tf/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-0f5kx2e2/python-rtmidi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-96qsb9f6 --python-tag cp36:
  ERROR: Package jack was not found in the pkg-config search path.
  Perhaps you should add the directory containing `jack.pc'
  to the PKG_CO
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值