We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting below error when installing speex module in python 3.4.2. What could the issue?
Collecting pyspeex from git+https://github.com/NuanceDev/[email protected]#egg=pyspeex (from -r requirements.txt (line 5)) Cloning https://github.com/NuanceDev/pyspeex.git (to 0.9.0) to /tmp/pip-build-ow3eu6mk/pyspeex Running setup.py (path:/tmp/pip-build-ow3eu6mk/pyspeex/setup.py) egg_info for package pyspeex produced metadata for project name speex. Fix your #egg=pyspeex fragments. Running setup.py install for speex ... error Complete output from command /home/ck/env-py34/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ow3eu6mk/pyspeex/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-5wu31oul-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ck/env-py34/include/site/python3.4/speex: running install running build running build_ext building 'speex' extension creating build creating build/temp.linux-x86_64-3.4 gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python3.4m -c speex.c -o build/temp.linux-x86_64-3.4/speex.o speex.c:343:31: fatal error: speex/speex_types.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/home/ck/env-py34/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ow3eu6mk/pyspeex/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-5wu31oul-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ck/env-py34/include/site/python3.4/speex" failed with error code 1 in /tmp/pip-build-ow3eu6mk/pyspeex/
The text was updated successfully, but these errors were encountered:
Missing documentation, But you can try: sudo apt-get install build-essential libspeex-dev Then rerun your command
sudo apt-get install build-essential libspeex-dev
Sorry, something went wrong.
@chan71 To complement @titilambert's reply
On Windows (cygwin) you can use Cygwin to install the following :
On Mac (homebrew): brew install speex speexdsp
brew install speex speexdsp
Ho ! So I guess on the following command should be good on ubuntu:
sudo apt-get install build-essential libspeex-dev libspeexdsp-dev libpulse-dev
Thanks @samueldg
No branches or pull requests
Getting below error when installing speex module in python 3.4.2. What could the issue?
The text was updated successfully, but these errors were encountered: