Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Collecting pyaudio
- Using cached PyAudio-0.2.11.tar.gz (37 kB)
- Building wheels for collected packages: pyaudio
- Building wheel for pyaudio (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- command: /home/uthsob/Templates/Python/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmonwik6/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmonwik6/pyaudio/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-p_bz5yjg
- cwd: /tmp/pip-install-tmonwik6/pyaudio/
- Complete output (16 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.8
- copying src/pyaudio.py -> build/lib.linux-x86_64-3.8
- running build_ext
- building '_portaudio' extension
- creating build/temp.linux-x86_64-3.8
- creating build/temp.linux-x86_64-3.8/src
- 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 -I/home/uthsob/Templates/Python/venv/include -I/usr/include/python3.8 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-3.8/src/_portaudiomodule.o
- src/_portaudiomodule.c:29:10: fatal error: portaudio.h: No such file or directory
- 29 | #include "portaudio.h"
- | ^~~~~~~~~~~~~
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- ERROR: Failed building wheel for pyaudio
- Running setup.py clean for pyaudio
- Failed to build pyaudio
- DEPRECATION: Could not build wheels for pyaudio which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
- Installing collected packages: pyaudio
- Running setup.py install for pyaudio ... error
- ERROR: Command errored out with exit status 1:
- command: /home/uthsob/Templates/Python/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmonwik6/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmonwik6/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-a9w782te/install-record.txt --single-version-externally-managed --compile --install-headers /home/uthsob/Templates/Python/venv/include/site/python3.8/pyaudio
- cwd: /tmp/pip-install-tmonwik6/pyaudio/
- Complete output (16 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.8
- copying src/pyaudio.py -> build/lib.linux-x86_64-3.8
- running build_ext
- building '_portaudio' extension
- creating build/temp.linux-x86_64-3.8
- creating build/temp.linux-x86_64-3.8/src
- 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 -I/home/uthsob/Templates/Python/venv/include -I/usr/include/python3.8 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-3.8/src/_portaudiomodule.o
- src/_portaudiomodule.c:29:10: fatal error: portaudio.h: No such file or directory
- 29 | #include "portaudio.h"
- | ^~~~~~~~~~~~~
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /home/uthsob/Templates/Python/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmonwik6/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmonwik6/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-a9w782te/install-record.txt --single-version-externally-managed --compile --install-headers /home/uthsob/Templates/Python/venv/include/site/python3.8/pyaudio Check the logs for full command output.
- WARNING: You are using pip version 20.2; however, version 20.3 is available.
- You should consider upgrading via the '/home/uthsob/Templates/Python/venv/bin/python -m pip install --upgrade pip' command.
Add Comment
Please, Sign In to add comment