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