MAC PYTHON INSTALL POCKETSPHINX ERROR INSTALL
Running setup.py install for pocketsphinx-fork. 6) sudo pip3 install -upgrade pocketsphinx. 5) sudo python3 -m pip install -upgrade pip setuptools wheel.
MAC PYTHON INSTALL POCKETSPHINX ERROR MAC OS X
4) sudo apt-get install -y python3 python-dev python-pip build-essential swig git libpulse-dev. brew reinstall swig python Installation Make sure we have up-to-date versions of pip, setuptools and wheel python -m pip install -upgrade pip setuptools wheel pip install -upgrade pocketsphinx More binary distributions for manual installation are available here. Getting this Mac OS X terminal message when using virtualenvwrapper with Anaconda Python installation /usr/bin/python: No module named virtualenvwrapper. 3) sudo apt-get install libzbar-dev libzbar0. Installing collected packages: pocketsphinx-fork I was trying to install the python package textract which has pocketsphinx as a depandancy, I believe they use pocketsphinx 0.1.13. Then, install Pocket sphinx: 1) sudo apt-get install swig. Running setup.py clean for pocketsphinx-fork configure, make clean all, and make install as outlined in each README. Make sure Cython is installed so these files can be regenerated. According to the description on the pocketsphinx GitHub repository: PocketSphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.
fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.5m -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-3.5/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentationĭeps/sphinxbase/src/libsphinxad/ad_pulse.c:44:30: fatal error: pulse/pulseaudio.h: No such file or directoryĮrror: command 'i686-linux-gnu-gcc' failed with exit status 1ĮRROR: Failed building wheel for pocketsphinx-fork Delete 'python/sphinxbase.c' from the sphinxbase source directory and delete 'python/pocketsphinx.c' from the pocketsphinx source directory. Now that we’ve got sphinxbase installed successfully, we can move onto installing pocketsphinx. Code: Select all i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-F5oRAB/python3.5-3.5.3=.