ERROR: Command errored out with exit status 1:
command: /home/hqc/anaconda3/envs/musicVAE/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gp44troh/python-rtmidi_40791587ffa84496bb14322dc7c8553c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gp44troh/python-rtmidi_40791587ffa84496bb14322dc7c8553c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vr0qhn28
cwd: /tmp/pip-install-gp44troh/python-rtmidi_40791587ffa84496bb14322dc7c8553c/
Complete output (23 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/rtmidi
copying rtmidi/__init__.py -> build/lib.linux-x86_64-3.6/rtmidi
copying rtmidi/midiconstants.py -> build/lib.linux-x86_64-3.6/rtmidi
copying rtmidi/release.py -> build/lib.linux-x86_64-3.6/rtmidi
copying rtmidi/midiutil.py -> build/lib.linux-x86_64-3.6/rtmidi
running build_ext
building 'rtmidi._rtmidi' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -B /home/hqc/anaconda3/envs/musicVAE/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D__LINUX_ALSA__ -D__UNIX_JACK__ -Isrc -I/home/hqc/anaconda3/envs/musicVAE/include/python3.6m -c src/_rtmidi.cpp -o build/temp.linux-x86_64-3.6/src/_rtmidi.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/hqc/anaconda3/envs/musicVAE/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D__LINUX_ALSA__ -D__UNIX_JACK__ -Isrc -I/home/hqc/anaconda3/envs/musicVAE/include/python3.6m -c src/RtMidi.cpp -o build/temp.linux-x86_64-3.6/src/RtMidi.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
src/RtMidi.cpp:1101:10: fatal error: alsa/asoundlib.h: 没有那个文件或目录
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for python-rtmidi
---------------------------------------------------------------------------------------------------------------------------------
尚未解决