OS windows11
wsl2 ubuntu20.04
やったこと
pip install tensorflow pip install magenta
エラーメッセージ
ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-05t2323o/rtmidi-python_349eb46b114c4fb2879ba5698bc04b01/setup.py'"'"'; __file__='"'"'/tmp/pip-install-05t2323o/rtmidi-python_349eb46b114c4fb2879ba5698bc04b01/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'"'"'))' install --record /tmp/pip-record-bj4ryvqx/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/tomsierra/.local/include/python3.8/rtmidi-python cwd: /tmp/pip-install-05t2323o/rtmidi-python_349eb46b114c4fb2879ba5698bc04b01/ Complete output (105 lines): running install running build running build_ext building 'rtmidi_python' extension creating build creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/RtMidi x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-stomsierra@DESKTOP:~$ e-time -D_FORTIFY_SOURCE=2 -fPIC -D__LINUX_ALSA__ -I/usr/include/python3.8 -c rtmidi_python.cpp -o build/temp.linux-x86_64-3.8/rtmidi_python.o rtmidi_python.cpp: In function ‘PyObject* PyInit_rtmidi_python()’: rtmidi_python.cpp:2932:39: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2932 | __pyx_type_13rtmidi_python_MidiBase.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2932:39: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2932 | __pyx_type_13rtmidi_python_MidiBase.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2932:39: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2932 | __pyx_type_13rtmidi_python_MidiBase.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2941:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2941 | __pyx_type_13rtmidi_python_MidiOut.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2941:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2941 | __pyx_type_13rtmidi_python_MidiOut.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2941:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2941 | __pyx_type_13rtmidi_python_MidiOut.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2950:37: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2950 | __pyx_type_13rtmidi_python_MidiIn.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2950:37: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2950 | __pyx_type_13rtmidi_python_MidiIn.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ rtmidi_python.cpp:2950:37: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations] 2950 | __pyx_type_13rtmidi_python_MidiIn.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.8/object.h:746, from /usr/include/python3.8/pytime.h:6, from /usr/include/python3.8/Python.h:85, from rtmidi_python.cpp:16: /usr/include/python3.8/cpython/object.h:260:30: note: declared here 260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); | ^~~~~~~~ x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D__LINUX_ALSA__ -I/usr/include/python3.8 -c RtMidi/RtMidi.cpp -o build/temp.linux-x86_64-3.8/RtMidi/RtMidi.o RtMidi/RtMidi.cpp:1048:10: fatal error: alsa/asoundlib.h: No such file or directory 1048 | #include <alsa/asoundlib.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-05t2323o/rtmidi-python_349eb46b114c4fb2879ba5698bc04b01/setup.py'"'"'; __file__='"'"'/tmp/pip-install-05t2323o/rtmidi-python_349eb46b114c4fb2879ba5698bc04b01/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'"'"'))' install --record /tmp/pip-record-bj4ryvqx/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/tomsierra/.local/include/python3.8/rtmidi-python Check the logs for full command output
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/12/07 12:18