Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jacob@Bidoof:~/itl_chorus$ sudo pip install pyaudio
- The directory '/home/jacob/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- The directory '/home/jacob/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- Collecting pyaudio
- Downloading PyAudio-0.2.9.tar.gz (289kB)
- 100% |████████████████████████████████| 296kB 2.8MB/s
- Installing collected packages: pyaudio
- Running setup.py install for pyaudio ... error
- Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cjtcli/pyaudio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6TjPl4-record/install-record.txt --single-version-externally-managed --compile:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-2.7
- copying src/pyaudio.py -> build/lib.linux-x86_64-2.7
- running build_ext
- building '_portaudio' extension
- creating build/temp.linux-x86_64-2.7
- creating build/temp.linux-x86_64-2.7/src
- x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-lMBuS3/python2.7-2.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-2.7/src/_portaudiomodule.o
- src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory
- #include "portaudio.h"
- ^
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cjtcli/pyaudio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6TjPl4-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-cjtcli/pyaudio/
- jacob@Bidoof:~/itl_chorus$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement