Open TVuong0526 opened 3 weeks ago
Same problem using docker with python:3.9-slim image.
Get this error:
Running setup.py install for simpleaudio: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for simpleaudio did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/simpleaudio
copying simpleaudio/__init__.py -> build/lib.linux-x86_64-3.9/simpleaudio
copying simpleaudio/shiny.py -> build/lib.linux-x86_64-3.9/simpleaudio
copying simpleaudio/functionchecks.py -> build/lib.linux-x86_64-3.9/simpleaudio
creating build/lib.linux-x86_64-3.9/simpleaudio/test_audio
copying simpleaudio/test_audio/c.wav -> build/lib.linux-x86_64-3.9/simpleaudio/test_audio
copying simpleaudio/test_audio/e.wav -> build/lib.linux-x86_64-3.9/simpleaudio/test_audio
copying simpleaudio/test_audio/g.wav -> build/lib.linux-x86_64-3.9/simpleaudio/test_audio
copying simpleaudio/test_audio/left_right.wav -> build/lib.linux-x86_64-3.9/simpleaudio/test_audio
copying simpleaudio/test_audio/notes_2_16_44.wav -> build/lib.linux-x86_64-3.9/simpleaudio/test_audio
running build_ext
building 'simpleaudio._simpleaudio' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/c_src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DDEBUG=0 -I/usr/local/include/python3.9 -c c_src/posix_mutex.c -o build/temp.linux-x86_64-3.9/c_src/posix_mutex.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> simpleaudio
error:: subprocess-exited with error
Failed building wheel for simple audio